AudioTrack.PlayerControls Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines which playback controls are enabled in the system user interface.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property PlayerControls As EnabledPlayerControls
public EnabledPlayerControls PlayerControls { get; set; }
<object PlayerControls="EnabledPlayerControls" .../>

Property Value

Type: Microsoft.Phone.BackgroundAudio..::.EnabledPlayerControls
Returns EnabledPlayerControls.

Exceptions

Exception Condition
InvalidOperationException

The value was set, but the object is not in edit mode.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

AudioTrack Class

Microsoft.Phone.BackgroundAudio Namespace