AudioTrack.PlaybackItem Property

Definition

Gets the MediaPlaybackItem containing the AudioTrack.

public:
 property MediaPlaybackItem ^ PlaybackItem { MediaPlaybackItem ^ get(); };
MediaPlaybackItem PlaybackItem();
public MediaPlaybackItem PlaybackItem { get; }
var mediaPlaybackItem = audioTrack.playbackItem;
Public ReadOnly Property PlaybackItem As MediaPlaybackItem

Property Value

The MediaPlaybackItem containing the AudioTrack.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

An AudioTrack is contained by a MediaPlaybackItem when it is in the item's AudioTracks collection. Use the PlaybackItem property to get a reference to the MediaPlaybackItem that contains the AudioTrack.

Applies to