MediaTransportControlsThumbnailRequestedEventArgs Class

Definition

Provides data for the MediaTransportControls.ThumbnailRequested event.

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
Inheritance
Object Platform::Object IInspectable MediaTransportControlsThumbnailRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Methods

GetDeferral()

Returns a deferral that can be used to defer the completion of the ThumbnailRequested event while the thumbnail is generated.

SetThumbnailImage(IInputStream)

Sets the source of the thumbnail image.

Applies to