Udostępnij za pośrednictwem


MediaRouter.Callback.OnRoutePresentationDisplayChanged Method

Definition

Called when a route's presentation display changes.

[Android.Runtime.Register("onRoutePresentationDisplayChanged", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;)V", "GetOnRoutePresentationDisplayChanged_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Handler")]
public virtual void OnRoutePresentationDisplayChanged (Android.Media.MediaRouter router, Android.Media.MediaRouter.RouteInfo info);
[<Android.Runtime.Register("onRoutePresentationDisplayChanged", "(Landroid/media/MediaRouter;Landroid/media/MediaRouter$RouteInfo;)V", "GetOnRoutePresentationDisplayChanged_Landroid_media_MediaRouter_Landroid_media_MediaRouter_RouteInfo_Handler")>]
abstract member OnRoutePresentationDisplayChanged : Android.Media.MediaRouter * Android.Media.MediaRouter.RouteInfo -> unit
override this.OnRoutePresentationDisplayChanged : Android.Media.MediaRouter * Android.Media.MediaRouter.RouteInfo -> unit

Parameters

router
MediaRouter

the MediaRouter reporting the event

info
MediaRouter.RouteInfo

The route whose presentation display changed

Attributes

Remarks

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

See also