Partager via


CloudMediaProvider.CloudMediaSurfaceController.OnMediaSeekTo Method

Definition

Seeks the media associated with the given surface id to specified timestamp.

[Android.Runtime.Register("onMediaSeekTo", "(IJ)V", "GetOnMediaSeekTo_IJHandler", ApiSince=33)]
public abstract void OnMediaSeekTo (int surfaceId, long timestampMillis);
[<Android.Runtime.Register("onMediaSeekTo", "(IJ)V", "GetOnMediaSeekTo_IJHandler", ApiSince=33)>]
abstract member OnMediaSeekTo : int * int64 -> unit

Parameters

surfaceId
Int32

id which uniquely identifies the Surface for rendering

timestampMillis
Int64

the timestamp in milliseconds from the start to seek to

Attributes

Remarks

Seeks the media associated with the given surface id to specified timestamp.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceController.onMediaSeekTo(int, long).

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.

Applies to