BackgroundAudioPlayer Properties

July 28, 2014

The BackgroundAudioPlayer type exposes the following members.

Public property BufferingProgress The amount of buffering that is completed for the media content.
Public property CanPause Gets a value indicating whether the media can be paused when the Pause() method is called.
Public property CanSeek Gets a value indicating whether the media can be repositioned by setting the value of the Position property.
Public property Error The last error, if any, to have occurred while playing the current AudioTrack.
Public property Static member Instance Returns an instance of the BackgroundAudioPlayer. If this application already has background audio playback resources allocated, the BackgroundAudioPlayer returned will contain references to those resources.
Public property PlayerState Gets the current PlayState of the player.
Public property Position Gets or sets the current position within the current Track.
Public property Track Gets or sets the current track for this application, whether the application is currently playing or not.
Public property Volume The media's volume represented on a linear scale between 0 and 1. The default is 0.85.

© 2014 Microsoft