GlobalSystemMediaTransportControlsSession.TryChangePlaybackPositionAsync 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 change the playback position on the session to the specified time, in ticks.
public:
virtual IAsyncOperation<bool> ^ TryChangePlaybackPositionAsync(long long requestedPlaybackPosition) = TryChangePlaybackPositionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangePlaybackPositionAsync(long const& requestedPlaybackPosition);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangePlaybackPositionAsync(long requestedPlaybackPosition);
function tryChangePlaybackPositionAsync(requestedPlaybackPosition)
Public Function TryChangePlaybackPositionAsync (requestedPlaybackPosition As Long) As IAsyncOperation(Of Boolean)
Parameters
- requestedPlaybackPosition
-
Int64
long long
long
The requested playback position to seek to, specified in ticks.
Returns
True indicates success; False otherwise
- Attributes
Windows requirements
App capabilities |
globalMediaControl
|