TvInputService.Session.NotifyAudioPresentationChanged Method

Definition

Sends an updated list of all audio presentations available from a Next Generation Audio service.

[Android.Runtime.Register("notifyAudioPresentationChanged", "(Ljava/util/List;)V", "GetNotifyAudioPresentationChanged_Ljava_util_List_Handler", ApiSince=34)]
public virtual void NotifyAudioPresentationChanged (System.Collections.Generic.IList<Android.Media.AudioPresentation> audioPresentations);
[<Android.Runtime.Register("notifyAudioPresentationChanged", "(Ljava/util/List;)V", "GetNotifyAudioPresentationChanged_Ljava_util_List_Handler", ApiSince=34)>]
abstract member NotifyAudioPresentationChanged : System.Collections.Generic.IList<Android.Media.AudioPresentation> -> unit
override this.NotifyAudioPresentationChanged : System.Collections.Generic.IList<Android.Media.AudioPresentation> -> unit

Parameters

audioPresentations
IList<AudioPresentation>

A list of audio presentation information pertaining to the selected track.

Attributes

Remarks

Sends an updated list of all audio presentations available from a Next Generation Audio service. This is used by the framework to maintain the audio presentation information for a given track of TvTrackInfo#TYPE_AUDIO, which in turn is used by TvView#getAudioPresentations for the application to retrieve metadata for the current audio track. The TV input service must call this method as soon as the audio track presentation information becomes available or is updated. Note that in a case where a part of the information for the current track is updated, it is not necessary to create a new TvTrackInfo object with a different track ID.

Java documentation for android.media.tv.TvInputService.Session.notifyAudioPresentationChanged(java.util.List<android.media.AudioPresentation>).

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