O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AudioPlayerAgent Virtual Methods

AudioPlayerAgent has the following three virtual methods that can be overridden in your implementation:

Image OnPlayStateChanged

Image OnUserAction

Image OnError

The following sections explore each method in detail.

AudioPlayerAgent.OnPlayStateChanged

OnPlayStateChanged enables you to respond to changes in the playback state of an audio track. For example, it allows you to transition the play state of a track once it has completed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required