1 out of 1 rated this helpful - Rate this topic

Microsoft.Phone.BackgroundAudio Namespace

Windows Phone

March 22, 2012

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.

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.

  Class Description
Public class AudioPlayerAgent An implementation of a BackgroundAgent specifically designed to play audio in the background.
Public class AudioStreamer Represents an audio stream that can be played back by the system audio player.
Public class AudioStreamingAgent A background agent that performs per-track streaming for playback.
Public class AudioTrack Represents a single track of audio.
Public class BackgroundAudioPlayer Provides background access to audio playback functionality such as play, pause, fast-forward, and rewind.
  Enumeration Description
Public enumeration EnabledPlayerControls Specifies which audio playback controls are enabled in the system user interface.
Public enumeration PlayState Indicates the possible states that the player can be in, with respect to the current application's background audio.
Public enumeration UserAction Indicates the possible user actions.

Did you find this helpful?
(1500 characters remaining)