MediaRouter2.ControllerCallback.OnControllerUpdated 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 controller is updated.
[Android.Runtime.Register("onControllerUpdated", "(Landroid/media/MediaRouter2$RoutingController;)V", "GetOnControllerUpdated_Landroid_media_MediaRouter2_RoutingController_Handler", ApiSince=30)]
public virtual void OnControllerUpdated(Android.Media.MediaRouter2.RoutingController controller);
[<Android.Runtime.Register("onControllerUpdated", "(Landroid/media/MediaRouter2$RoutingController;)V", "GetOnControllerUpdated_Landroid_media_MediaRouter2_RoutingController_Handler", ApiSince=30)>]
abstract member OnControllerUpdated : Android.Media.MediaRouter2.RoutingController -> unit
override this.OnControllerUpdated : Android.Media.MediaRouter2.RoutingController -> unit
Parameters
- controller
- MediaRouter2.RoutingController
the updated controller. It may be the system controller. This value cannot be null.
- Attributes
Remarks
Called when a controller is updated. (e.g., when the selected routes of the controller is changed or when the volume of the controller is changed.)
Android reference for android.media.MediaRouter2.ControllerCallback.onControllerUpdated.
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.