次の方法で共有


MediaSession.Callback.OnSeekTo(Int64) Method

Definition

Override to handle requests to seek to a specific position in ms.

[Android.Runtime.Register("onSeekTo", "(J)V", "GetOnSeekTo_JHandler")]
public virtual void OnSeekTo (long pos);
[<Android.Runtime.Register("onSeekTo", "(J)V", "GetOnSeekTo_JHandler")>]
abstract member OnSeekTo : int64 -> unit
override this.OnSeekTo : int64 -> unit

Parameters

pos
Int64

New position to move to, in milliseconds.

Attributes

Remarks

Override to handle requests to seek to a specific position in ms.

Java documentation for android.media.session.MediaSession.Callback.onSeekTo(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