AccessoryManager.MediaPlaybackStatus Property

Definition

Gets the status of the media playing on the accessory.

public:
 static property PlaybackStatus MediaPlaybackStatus { PlaybackStatus get(); };
static PlaybackStatus MediaPlaybackStatus();
public static PlaybackStatus MediaPlaybackStatus { get; }
var playbackStatus = AccessoryManager.mediaPlaybackStatus;
Public Shared ReadOnly Property MediaPlaybackStatus As PlaybackStatus

Property Value

One of the values in the enumeration: Playing, Paused, Stopped, or TrackChanged.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to