MediaTransportControlsThumbnailRequestedEventArgs 类

定义

提供 MediaTransportControls.ThumbnailRequested 事件的数据。

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

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

方法

GetDeferral()

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

SetThumbnailImage(IInputStream)

设置缩略图的源。

适用于