Share via


TvView.TvInputCallback.OnTimeShiftMode(String, TimeShiftMode) Method

Definition

This is called when time shift mode is set or updated.

[Android.Runtime.Register("onTimeShiftMode", "(Ljava/lang/String;I)V", "GetOnTimeShiftMode_Ljava_lang_String_IHandler", ApiSince=34)]
public virtual void OnTimeShiftMode (string inputId, Android.Media.TV.TimeShiftMode mode);
[<Android.Runtime.Register("onTimeShiftMode", "(Ljava/lang/String;I)V", "GetOnTimeShiftMode_Ljava_lang_String_IHandler", ApiSince=34)>]
abstract member OnTimeShiftMode : string * Android.Media.TV.TimeShiftMode -> unit
override this.OnTimeShiftMode : string * Android.Media.TV.TimeShiftMode -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

mode
TimeShiftMode

The current time shift mode. The value is one of the following: TvInputManager#TIME_SHIFT_MODE_OFF, TvInputManager#TIME_SHIFT_MODE_LOCAL, TvInputManager#TIME_SHIFT_MODE_NETWORK, TvInputManager#TIME_SHIFT_MODE_AUTO.

Attributes

Remarks

This is called when time shift mode is set or updated.

Java documentation for android.media.tv.TvView.TvInputCallback.onTimeShiftMode(java.lang.String, int).

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