TvView.TimeShiftPositionCallback.OnTimeShiftStartPositionChanged 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.
This is called when the start position for time shifting has changed.
[Android.Runtime.Register("onTimeShiftStartPositionChanged", "(Ljava/lang/String;J)V", "GetOnTimeShiftStartPositionChanged_Ljava_lang_String_JHandler", ApiSince=23)]
public virtual void OnTimeShiftStartPositionChanged (string? inputId, long timeMs);
[<Android.Runtime.Register("onTimeShiftStartPositionChanged", "(Ljava/lang/String;J)V", "GetOnTimeShiftStartPositionChanged_Ljava_lang_String_JHandler", ApiSince=23)>]
abstract member OnTimeShiftStartPositionChanged : string * int64 -> unit
override this.OnTimeShiftStartPositionChanged : string * int64 -> unit
Parameters
- inputId
- String
The ID of the TV input bound to this view.
- timeMs
- Int64
The start position for time shifting, in milliseconds since the epoch.
- Attributes
Remarks
This is called when the start position for time shifting has changed.
The start position for time shifting indicates the earliest possible time the user can seek to. Initially this is equivalent to the time when the underlying TV input starts recording. Later it may be adjusted because there is insufficient space or the duration of recording is limited. The application must not allow the user to seek to a position earlier than the start position.
For playback of a recorded program initiated by #timeShiftPlay(String, Uri)
, the start position is the time when playback starts. It does not change.
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.