TvInputManager.TvInputCallback.OnInputStateChanged Method

Definition

This is called when the state of a given TV input is changed.

[Android.Runtime.Register("onInputStateChanged", "(Ljava/lang/String;I)V", "GetOnInputStateChanged_Ljava_lang_String_IHandler")]
public virtual void OnInputStateChanged (string? inputId, Android.Media.TV.TvInputState state);
[<Android.Runtime.Register("onInputStateChanged", "(Ljava/lang/String;I)V", "GetOnInputStateChanged_Ljava_lang_String_IHandler")>]
abstract member OnInputStateChanged : string * Android.Media.TV.TvInputState -> unit
override this.OnInputStateChanged : string * Android.Media.TV.TvInputState -> unit

Parameters

inputId
String

The ID of the TV input.

state
TvInputState

State of the TV input. The value is one of the following: <ul> <li>TvInputManager#INPUT_STATE_CONNECTED<li>TvInputManager#INPUT_STATE_CONNECTED_STANDBY<li>TvInputManager#INPUT_STATE_DISCONNECTED</ul>

Attributes

Remarks

This is called when the state of a given TV input is changed.

Java documentation for android.media.tv.TvInputManager.TvInputCallback.onInputStateChanged(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