TvInteractiveAppService.Session.OnSelectedTrackInfo Method

Definition

Called when the TV App sends the selected track info as a response to #requestSelectedTrackInfo().

[Android.Runtime.Register("onSelectedTrackInfo", "(Ljava/util/List;)V", "GetOnSelectedTrackInfo_Ljava_util_List_Handler", ApiSince=36)]
public virtual void OnSelectedTrackInfo(System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo> tracks);
[<Android.Runtime.Register("onSelectedTrackInfo", "(Ljava/util/List;)V", "GetOnSelectedTrackInfo_Ljava_util_List_Handler", ApiSince=36)>]
abstract member OnSelectedTrackInfo : System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo> -> unit
override this.OnSelectedTrackInfo : System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo> -> unit

Parameters

tracks
IList<TvTrackInfo>

A list of TvTrackInfo that are currently selected

Attributes

Remarks

Called when the TV App sends the selected track info as a response to #requestSelectedTrackInfo().

When a selected track changes as a result of a new selection, #onTrackSelected(int, String) should be used instead to communicate the specific track selection.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.onSelectedTrackInfo(java.util.List<android.media.tv.TvTrackInfo>).

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