Dela via


SystemMediaTransportControlsDisplayUpdater.Type Property

Definition

Gets or sets the type of media.

public:
 property MediaPlaybackType Type { MediaPlaybackType get(); void set(MediaPlaybackType value); };
MediaPlaybackType Type();

void Type(MediaPlaybackType value);
public MediaPlaybackType Type { get; set; }
var mediaPlaybackType = systemMediaTransportControlsDisplayUpdater.type;
systemMediaTransportControlsDisplayUpdater.type = mediaPlaybackType;
Public Property Type As MediaPlaybackType

Property Value

The type of media.

Remarks

Note

Apps should set a value for the Type property even if they aren't supplying other media metadata to be displayed by the System Media Transport Controls. This value helps the system handle your media content correctly, including preventing the screen saver from activating during playback.

Applies to