MediaCodec.QueueRequest.SetPresentationTimeUs(Int64) 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.
Set timestamp to this queue request.
[Android.Runtime.Register("setPresentationTimeUs", "(J)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)]
public Android.Media.MediaCodec.QueueRequest SetPresentationTimeUs(long presentationTimeUs);
[<Android.Runtime.Register("setPresentationTimeUs", "(J)Landroid/media/MediaCodec$QueueRequest;", "", ApiSince=30)>]
member this.SetPresentationTimeUs : int64 -> Android.Media.MediaCodec.QueueRequest
Parameters
- presentationTimeUs
- Int64
The presentation timestamp in microseconds for this buffer. This is normally the media time at which this buffer should be presented (rendered). When using an output surface, this will be propagated as the timestamp for the frame (after conversion to nanoseconds).
Returns
this object. This value cannot be null.
- Attributes
Remarks
Set timestamp to this queue request.
Android reference for android.media.MediaCodec.QueueRequest.setPresentationTimeUs.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.