AudioTrack.PlaybackItem AudioTrack.PlaybackItem AudioTrack.PlaybackItem AudioTrack.PlaybackItem AudioTrack.PlaybackItem Property

Definition

Gets the MediaPlaybackItem containing the AudioTrack.

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

Property Value

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

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.