MiracastReceiverMediaSourceCreatedEventArgs Class

Definition

Provides data for the MiracastReceiverSession.MediaSourceCreated event.

public ref class MiracastReceiverMediaSourceCreatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MiracastReceiverMediaSourceCreatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MiracastReceiverMediaSourceCreatedEventArgs
Public NotInheritable Class MiracastReceiverMediaSourceCreatedEventArgs
Inheritance
Object Platform::Object IInspectable MiracastReceiverMediaSourceCreatedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This event is raised after the MediaReceiverSession.ConnectionCreated event, if the Connection remains connected.

Properties

Connection

Returns the MiracastReceiverConnection object of the associated connection.

CursorImageChannelSettings

Returns an object for configuring the settings of the optional cursor image channel.

MediaSource

Returns a MediaSource object for playing the audio and video data that is being sent by the Miracast Transmitter.

Methods

GetDeferral()

Defers completion of the MiracastReceiverSession.MediaSourceCreated event until Deferral.Complete is invoked.

Applies to

See also