GlobalSystemMediaTransportControlsSession.TryRecordAsync Method

Definition

Attempts to request that the session starts recording.

public:
 virtual IAsyncOperation<bool> ^ TryRecordAsync() = TryRecordAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryRecordAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryRecordAsync();
function tryRecordAsync()
Public Function TryRecordAsync () As IAsyncOperation(Of Boolean)

Returns

True indicates success; False otherwise

Attributes

Windows requirements

App capabilities
globalMediaControl

Applies to