MediaTransportControlsThumbnailRequestedEventArgs 类

定义

为 MediaTransportControls.ThumbnailRequested 事件提供数据。

public ref class MediaTransportControlsThumbnailRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MediaTransportControlsThumbnailRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MediaTransportControlsThumbnailRequestedEventArgs
Public NotInheritable Class MediaTransportControlsThumbnailRequestedEventArgs
继承
Object Platform::Object IInspectable MediaTransportControlsThumbnailRequestedEventArgs
属性

方法

GetDeferral()

返回一个延迟值,该延迟可用于在生成缩略图时延迟 ThumbnailRequested 事件的完成。

SetThumbnailImage(IInputStream)

设置缩略图图像的源。

适用于