Microsoft.Phone.BackgroundAudio Namespace

May 11, 2014

The Microsoft.Phone.BackgroundAudio namespace provides functionality that plays audio in the background while other applications are running in the foreground.

For more information, see the Background audio overview for Windows Phone 8.

Important noteImportant Note:

Apps using the Microsoft.Phone.BackgroundAudio namespace must use the MediaHistory or MediaHistoryItem class in order to have access to the Zune media library on the device.

  ClassDescription
Public classAudioPlayerAgentAn implementation of a BackgroundAgent specifically designed to play audio in the background.
Public classAudioStreamerRepresents an audio stream that can be played back by the system audio player.
Public classAudioStreamingAgentA background agent that performs per-track streaming for playback.
Public classAudioTrackRepresents a single track of audio.
Public classBackgroundAudioPlayerProvides background access to audio playback functionality such as play, pause, fast-forward, and rewind.
Public classPlayStateChangedEventArgsProvides data for the PlayStateChanged event.

  EnumerationDescription
Public enumerationEnabledPlayerControlsSpecifies which audio playback controls are enabled in the system user interface.
Public enumerationPlayStateIndicates the possible states that the player can be in, with respect to the current application's background audio.
Public enumerationUserActionIndicates the possible user actions.

Show:
© 2014 Microsoft