Used to notify media router each route's property changes regarding this
Here are some examples when this notification is called :
- a route is newly turned on and it can be grouped with this dynamic group route.
- a route is selecting as a member of this dynamic group route.
- a route is selected as a member of this dynamic group route.
- a route is unselecting.
- a route is unselected.
- a route is turned off.
The provider should call this method when routes' properties change.
abstract fun onRoutesChanged(controller: MediaRouteProvider.DynamicGroupRouteController!, routes: MutableCollection<MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor!>!): Unit
The provider should call this method when routes' properties change. (e.g. when a route becomes ungroupable)
||MediaRouteProvider.DynamicGroupRouteController!: the collection of routes contains selected routes (can be unselectable or not) and unselected routes (can be groupable or transferable or not).|