TvView.TvInputCallback.OnTrackSelected 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 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.
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.