AudioPlaybackConnection.OpenAsync Method

Definition

Asynchronously attempts to connect the underlying device. If successful, this causes any audio that is playing on the remote device to be heard on the local device.

public:
 virtual IAsyncOperation<AudioPlaybackConnectionOpenResult ^> ^ OpenAsync() = OpenAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AudioPlaybackConnectionOpenResult> OpenAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AudioPlaybackConnectionOpenResult> OpenAsync();
function openAsync()
Public Function OpenAsync () As IAsyncOperation(Of AudioPlaybackConnectionOpenResult)

Returns

IAsyncOperation<AudioPlaybackConnectionOpenResult>

Upon completion, returns an AudioPlaybackConnectionOpenResult object. The Status property of this object indicates the result of the connection attempt.

Attributes

Applies to