Udostępnij za pośrednictwem


MediaPlaybackItem.AutoLoadedDisplayProperties Property

Definition

Gets or sets a value that specifies for which types of media content, if any, the system should automatically load metadata to display in the System Media Transport Controls.

public:
 property AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties { AutoLoadedDisplayPropertyKind get(); void set(AutoLoadedDisplayPropertyKind value); };
AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties();

void AutoLoadedDisplayProperties(AutoLoadedDisplayPropertyKind value);
public AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties { get; set; }
var autoLoadedDisplayPropertyKind = mediaPlaybackItem.autoLoadedDisplayProperties;
mediaPlaybackItem.autoLoadedDisplayProperties = autoLoadedDisplayPropertyKind;
Public Property AutoLoadedDisplayProperties As AutoLoadedDisplayPropertyKind

Property Value

A value that specifies for which types of media content the system should automatically load and display metadata.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

You can programmatically provide metadata for media items, instead of having the system dynamically load the metadata in the content, by calling GetDisplayProperties, setting the data of the returned [MediaItemDisplayProperties] (mediaitemdisplayproperties.md), and then calling ApplyDisplayProperties. For more information, see Media items, playlists, and tracks.

Applies to