Added in API level 30
MediaRouter2.ControllerCallback
public
static
abstract
class
MediaRouter2.ControllerCallback
extends Object
| java.lang.Object | |
| ↳ | android.media.MediaRouter2.ControllerCallback |
Callback for receiving RoutingController updates.
Summary
Public constructors | |
|---|---|
ControllerCallback()
|
|
Public methods | |
|---|---|
void
|
onControllerUpdated(MediaRouter2.RoutingController controller)
Called when a controller is updated. |
Inherited methods | |
|---|---|
Public constructors
ControllerCallback
public ControllerCallback ()
Public methods
onControllerUpdated
Added in API level 30
public void onControllerUpdated (MediaRouter2.RoutingController controller)
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.)
| Parameters | |
|---|---|
controller |
MediaRouter2.RoutingController: the updated controller. It may be the system controller.
This value cannot be null. |
See also: