GlobalSystemMediaTransportControlsSession.TryGetMediaPropertiesAsync 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 get the media properties for this session.
public:
virtual IAsyncOperation<GlobalSystemMediaTransportControlsSessionMediaProperties ^> ^ TryGetMediaPropertiesAsync() = TryGetMediaPropertiesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GlobalSystemMediaTransportControlsSessionMediaProperties> TryGetMediaPropertiesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GlobalSystemMediaTransportControlsSessionMediaProperties> TryGetMediaPropertiesAsync();
function tryGetMediaPropertiesAsync()
Public Function TryGetMediaPropertiesAsync () As IAsyncOperation(Of GlobalSystemMediaTransportControlsSessionMediaProperties)
Returns
GlobalSystemMediaTransportControlsSessionMediaProperties instance representing the session's current media item.
- Attributes
Windows requirements
App capabilities |
globalMediaControl
|