TvInputManager.TvInputCallback.OnInputStateChanged 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 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.
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.