MediaItemDisplayProperties.Type Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating the type of media that is represented by the MediaPlaybackItem, such as audio or video.
public:
property MediaPlaybackType Type { MediaPlaybackType get(); void set(MediaPlaybackType value); };
MediaPlaybackType Type();
void Type(MediaPlaybackType value);
public MediaPlaybackType Type { get; set; }
var mediaPlaybackType = mediaItemDisplayProperties.type;
mediaItemDisplayProperties.type = mediaPlaybackType;
Public Property Type As MediaPlaybackType
Property Value
A value indicating the type of media that is represented by the MediaPlaybackItem.
Remarks
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin