次の方法で共有


TvView.TvInputCallback.OnAudioPresentationSelected Method

Definition

This is called when audio presentation selection has changed.

[Android.Runtime.Register("onAudioPresentationSelected", "(Ljava/lang/String;II)V", "GetOnAudioPresentationSelected_Ljava_lang_String_IIHandler", ApiSince=34)]
public virtual void OnAudioPresentationSelected (string inputId, int presentationId, int programId);
[<Android.Runtime.Register("onAudioPresentationSelected", "(Ljava/lang/String;II)V", "GetOnAudioPresentationSelected_Ljava_lang_String_IIHandler", ApiSince=34)>]
abstract member OnAudioPresentationSelected : string * int * int -> unit
override this.OnAudioPresentationSelected : string * int * int -> unit

Parameters

inputId
String

The ID of the TV input bound to this view.

presentationId
Int32

The ID of the audio presentation selected.

programId
Int32

The ID of the program providing the selected audio presentation.

Attributes

Remarks

This is called when audio presentation selection has changed.

Java documentation for android.media.tv.TvView.TvInputCallback.onAudioPresentationSelected(java.lang.String, int, int).

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