次の方法で共有


TvView.TvInputCallback.OnTrackSelected Method

Definition

This is called when there is a change on the selected tracks.

[Android.Runtime.Register("onTrackSelected", "(Ljava/lang/String;ILjava/lang/String;)V", "GetOnTrackSelected_Ljava_lang_String_ILjava_lang_String_Handler")]
public virtual void OnTrackSelected (string? inputId, Android.Media.TV.TvTrackInfoType type, string? trackId);
[<Android.Runtime.Register("onTrackSelected", "(Ljava/lang/String;ILjava/lang/String;)V", "GetOnTrackSelected_Ljava_lang_String_ILjava_lang_String_Handler")>]
abstract member OnTrackSelected : string * Android.Media.TV.TvTrackInfoType * string -> unit
override this.OnTrackSelected : string * Android.Media.TV.TvTrackInfoType * string -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

type
TvTrackInfoType

The type of the track selected. The type can be TvTrackInfo#TYPE_AUDIO, TvTrackInfo#TYPE_VIDEO or TvTrackInfo#TYPE_SUBTITLE.

trackId
String

The ID of the track selected.

Attributes

Remarks

This is called when there is a change on the selected tracks.

Java documentation for android.media.tv.TvView.TvInputCallback.onTrackSelected(java.lang.String, int, 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