MediaRouter2.RouteCallback.OnRoutesUpdated 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 route list is updated, which can happen when routes are added, removed, or modified.
[Android.Runtime.Register("onRoutesUpdated", "(Ljava/util/List;)V", "GetOnRoutesUpdated_Ljava_util_List_Handler", ApiSince=34)]
public virtual void OnRoutesUpdated (System.Collections.Generic.IList<Android.Media.MediaRoute2Info> routes);
[<Android.Runtime.Register("onRoutesUpdated", "(Ljava/util/List;)V", "GetOnRoutesUpdated_Ljava_util_List_Handler", ApiSince=34)>]
abstract member OnRoutesUpdated : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
override this.OnRoutesUpdated : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
Parameters
- routes
- IList<MediaRoute2Info>
the updated list of routes filtered by the callback's individual discovery preferences.
- Attributes
Remarks
Called when the route list is updated, which can happen when routes are added, removed, or modified. It will also be called when a route callback is registered.
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.