다음을 통해 공유


MediaRouter2.SetOnGetControllerHintsListener Method

Definition

Sets an OnGetControllerHintsListener to send hints when creating a RoutingController.

[Android.Runtime.Register("setOnGetControllerHintsListener", "(Landroid/media/MediaRouter2$OnGetControllerHintsListener;)V", "", ApiSince=30)]
public void SetOnGetControllerHintsListener (Android.Media.MediaRouter2.IOnGetControllerHintsListener? listener);
[<Android.Runtime.Register("setOnGetControllerHintsListener", "(Landroid/media/MediaRouter2$OnGetControllerHintsListener;)V", "", ApiSince=30)>]
member this.SetOnGetControllerHintsListener : Android.Media.MediaRouter2.IOnGetControllerHintsListener -> unit

Parameters

listener
MediaRouter2.IOnGetControllerHintsListener

A listener to send optional app-specific hints when creating a controller. null for unset.

Attributes

Remarks

Java documentation for android.media.MediaRouter2.setOnGetControllerHintsListener(android.media.OnGetControllerHintsListener).

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