Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AudioPlaybackConnection.OpenAsync Method

Definition

Namespace:
Windows.Media.Audio

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Attributes

Applies to


Feedback

Was this page helpful?