TvInputService.Session.NotifyTracksChanged(IList<TvTrackInfo>) 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.
Sends the list of all audio/video/subtitle tracks.
[Android.Runtime.Register("notifyTracksChanged", "(Ljava/util/List;)V", "GetNotifyTracksChanged_Ljava_util_List_Handler")]
public virtual void NotifyTracksChanged (System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo>? tracks);
[<Android.Runtime.Register("notifyTracksChanged", "(Ljava/util/List;)V", "GetNotifyTracksChanged_Ljava_util_List_Handler")>]
abstract member NotifyTracksChanged : System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo> -> unit
override this.NotifyTracksChanged : System.Collections.Generic.IList<Android.Media.TV.TvTrackInfo> -> unit
Parameters
- tracks
- IList<TvTrackInfo>
A list which includes track information.
- Attributes
Remarks
Sends the list of all audio/video/subtitle tracks. The is used by the framework to maintain the track information for a given session, which in turn is used by TvView#getTracks
for the application to retrieve metadata for a given track type. The TV input service must call this method as soon as the track information becomes available or is updated. Note that in a case where a part of the information for a certain track is updated, it is not necessary to create a new TvTrackInfo
object with a different track ID.
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.