Udostępnij za pośrednictwem


TvInputManager.TvInputCallback.OnInputAdded(String) Method

Definition

This is called when a TV input is added to the system.

[Android.Runtime.Register("onInputAdded", "(Ljava/lang/String;)V", "GetOnInputAdded_Ljava_lang_String_Handler")]
public virtual void OnInputAdded (string? inputId);
[<Android.Runtime.Register("onInputAdded", "(Ljava/lang/String;)V", "GetOnInputAdded_Ljava_lang_String_Handler")>]
abstract member OnInputAdded : string -> unit
override this.OnInputAdded : string -> unit

Parameters

inputId
String

The ID of the TV input.

Attributes

Remarks

This is called when a TV input is added to the system.

Normally it happens when the user installs a new TV input package that implements TvInputService interface.

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