Udostępnij za pośrednictwem


TvInputService.Session.OnTimeShiftSeekTo(Int64) Method

Definition

Called when the application requests to seek to a specified time position.

[Android.Runtime.Register("onTimeShiftSeekTo", "(J)V", "GetOnTimeShiftSeekTo_JHandler", ApiSince=23)]
public virtual void OnTimeShiftSeekTo (long timeMs);
[<Android.Runtime.Register("onTimeShiftSeekTo", "(J)V", "GetOnTimeShiftSeekTo_JHandler", ApiSince=23)>]
abstract member OnTimeShiftSeekTo : int64 -> unit
override this.OnTimeShiftSeekTo : int64 -> unit

Parameters

timeMs
Int64

The time position to seek to, in milliseconds since the epoch.

Attributes

Remarks

Called when the application requests to seek to a specified time position. Normally, the position is given within range between the start and the current time, inclusively. The implementation is expected to seek to the nearest time position if the given position is not in the range.

Java documentation for android.media.tv.TvInputService.Session.onTimeShiftSeekTo(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