共用方式為


MiracastReceiverMediaSourceCreatedEventArgs 類別

定義

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
繼承
Object Platform::Object IInspectable MiracastReceiverMediaSourceCreatedEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

備註

如果 Connection 維持連線,則會在 MediaReceiverSession.ConnectionCreated 事件之後引發此事件。

屬性

Connection

會傳回相關聯連接的 MiracastReceiverConnection 物件。

CursorImageChannelSettings

傳回 物件,用於設定選擇性資料指標影像通道的設定。

MediaSource

會傳回 MediaSource 物件,用於播放 Miracast 傳輸器所傳送的音訊和視訊資料。

方法

GetDeferral()

延遲 MiracastReceiverSession.MediaSourceCreated 事件的完成,直到叫用 Deferral.Complete 為止。

適用於

另請參閱