MiracastReceiverSession クラス

定義

受信 Miracast 接続の受信に関連する機能をカプセル化する オブジェクト。

public ref class MiracastReceiverSession sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MiracastReceiverSession final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MiracastReceiverSession : System.IDisposable
Public NotInheritable Class MiracastReceiverSession
Implements IDisposable
継承
Object Platform::Object IInspectable MiracastReceiverSession
属性
実装

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v8.0 で導入)

プロパティ

AllowConnectionTakeover

アプリで進行中の Miracast 接続を引き継ぐ新しい接続を許可するかどうかを指定します。

MaxSimultaneousConnections

MiracastReceiverSession でアプリが処理する同時接続の最大数を指定します。

メソッド

Close()

MiracastReceiverSession オブジェクトを閉じ、関連付けられている MiracastReceiverConnection オブジェクトを切断します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

Start()

着信 Miracast 接続のリッスンを開始します。

StartAsync()

着信 Miracast 接続のリッスンを開始します。

イベント

ConnectionCreated

新しい受信 MiracastReceiverConnection を受信したときに発生するイベント。

Disconnected

MiracastReceiverConnection が Miracast 送信機によって切断されたときに発生するイベント。

MediaSourceCreated

MiracastReceiverConnectionMediaSource オブジェクトが作成されたときに発生するイベント。

適用対象