GlobalSystemMediaTransportControlsSession.TryPlayAsync 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.
Attempts to request the session to start playback.
public:
virtual IAsyncOperation<bool> ^ TryPlayAsync() = TryPlayAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryPlayAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryPlayAsync();
function tryPlayAsync()
Public Function TryPlayAsync () As IAsyncOperation(Of Boolean)
Returns
True indicates success; False otherwise
- Attributes
Windows requirements
App capabilities |
globalMediaControl
|