Share via


MiracastReceiver.CreateSessionAsync(CoreApplicationView) Method

Definition

Asynchronously creates a new MiracastReceiverSession object, needed to receive Miracast connections.

public:
 virtual IAsyncOperation<MiracastReceiverSession ^> ^ CreateSessionAsync(CoreApplicationView ^ view) = CreateSessionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MiracastReceiverSession> CreateSessionAsync(CoreApplicationView const& view);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MiracastReceiverSession> CreateSessionAsync(CoreApplicationView view);
function createSessionAsync(view)
Public Function CreateSessionAsync (view As CoreApplicationView) As IAsyncOperation(Of MiracastReceiverSession)

Parameters

view
CoreApplicationView

The CoreApplicationView used by the app when displaying the Miracast video stream.

Returns

An asynchronous operation that returns the new MiracastReceiverSession object upon completion.

Attributes

Applies to

See also