MediaTransportControlsThumbnailRequestedEventArgs Class

Definition

Provides data for the MediaTransportControls.ThumbnailRequested event.

public ref class MediaTransportControlsThumbnailRequestedEventArgs sealed
class MediaTransportControlsThumbnailRequestedEventArgs sealed
[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)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class MediaTransportControlsThumbnailRequestedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class MediaTransportControlsThumbnailRequestedEventArgs
Public NotInheritable Class MediaTransportControlsThumbnailRequestedEventArgs
Inheritance
MediaTransportControlsThumbnailRequestedEventArgs
Attributes

Windows 10 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