MediaRouter2.TransferCallback.OnStop(MediaRouter2+RoutingController) 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.
Called when a media routing stops.
[Android.Runtime.Register("onStop", "(Landroid/media/MediaRouter2$RoutingController;)V", "GetOnStop_Landroid_media_MediaRouter2_RoutingController_Handler", ApiSince=30)]
public virtual void OnStop(Android.Media.MediaRouter2.RoutingController controller);
[<Android.Runtime.Register("onStop", "(Landroid/media/MediaRouter2$RoutingController;)V", "GetOnStop_Landroid_media_MediaRouter2_RoutingController_Handler", ApiSince=30)>]
abstract member OnStop : Android.Media.MediaRouter2.RoutingController -> unit
override this.OnStop : Android.Media.MediaRouter2.RoutingController -> unit
Parameters
- controller
- MediaRouter2.RoutingController
the controller that controlled the stopped media routing. This value cannot be null.
- Attributes
Remarks
Called when a media routing stops. It can be stopped by a user or a provider. App should not continue playing media locally when this method is called. The controller is released before this method is called.
Android reference for android.media.MediaRouter2.TransferCallback.onStop.
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.