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.


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 ...

Get Windows® Phone 8 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.