MediaRouter2.RouteCallback.OnRoutesAdded(IList<MediaRoute2Info>) 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 routes are added.
[Android.Runtime.Register("onRoutesAdded", "(Ljava/util/List;)V", "GetOnRoutesAdded_Ljava_util_List_Handler", ApiSince=30)]
public virtual void OnRoutesAdded (System.Collections.Generic.IList<Android.Media.MediaRoute2Info> routes);
[<Android.Runtime.Register("onRoutesAdded", "(Ljava/util/List;)V", "GetOnRoutesAdded_Ljava_util_List_Handler", ApiSince=30)>]
abstract member OnRoutesAdded : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
override this.OnRoutesAdded : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
Parameters
- routes
- IList<MediaRoute2Info>
the list of routes that have been added. It's never empty.
- Attributes
Remarks
Called when routes are added. Whenever you register a callback, this will be invoked with known routes.
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.