Condividi tramite


TvInputManager.GetInputState(String) Method

Definition

Returns the state of a given TV input.

[Android.Runtime.Register("getInputState", "(Ljava/lang/String;)I", "")]
public Android.Media.TV.TvInputState GetInputState (string inputId);
[<Android.Runtime.Register("getInputState", "(Ljava/lang/String;)I", "")>]
member this.GetInputState : string -> Android.Media.TV.TvInputState

Parameters

inputId
String

The ID of the TV input.

Returns

Attributes

Exceptions

if the argument is null.

Remarks

Returns the state of a given TV input.

The state is one of the following: <ul> <li>#INPUT_STATE_CONNECTED<li>#INPUT_STATE_CONNECTED_STANDBY<li>#INPUT_STATE_DISCONNECTED</ul>

Java documentation for android.media.tv.TvInputManager.getInputState(java.lang.String).

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