MediaRenderer.SeekAsync method
Instructs the DMR asynchronously to seek to a particular time offset.
Syntax
HRESULT SeekAsync(
[in] Windows.Foundation.TimeSpan target,
[out] PlaybackOperation **value
);
Parameters
target [in]
A TimeSpan value that specifies the seek offset. This value must be 0 (indicating the beginning of the content) or greater, but less than the value of PositionInformation.TrackDuration which is obtained by calling GetPositionInformationAsync.value [out]
Receives a reference to a PlaybackOperation object that is used to get results from the asynchronous operation.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
S_OK | The method succeeded. |