MediaRouter2.RouteCallback.OnRoutesChanged 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 the properties of one or more existing routes are changed.
[Android.Runtime.Register("onRoutesChanged", "(Ljava/util/List;)V", "GetOnRoutesChanged_Ljava_util_List_Handler", ApiSince=30)]
public virtual void OnRoutesChanged (System.Collections.Generic.IList<Android.Media.MediaRoute2Info> routes);
[<Android.Runtime.Register("onRoutesChanged", "(Ljava/util/List;)V", "GetOnRoutesChanged_Ljava_util_List_Handler", ApiSince=30)>]
abstract member OnRoutesChanged : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
override this.OnRoutesChanged : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
Parameters
- routes
- IList<MediaRoute2Info>
the list of routes that have been changed. It's never empty.
- Attributes
Remarks
Called when the properties of one or more existing routes are changed. For example, it is called when a route's name or volume have changed.
This member is deprecated. Use #onRoutesUpdated(List)
instead.
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.