AudioPlaybackConnection.OpenAsync Method
Definition
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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for