MediaRouter2.RouteCallback.OnRoutesRemoved Method

Definition

Called when routes are removed.

[Android.Runtime.Register("onRoutesRemoved", "(Ljava/util/List;)V", "GetOnRoutesRemoved_Ljava_util_List_Handler", ApiSince=30)]
public virtual void OnRoutesRemoved (System.Collections.Generic.IList<Android.Media.MediaRoute2Info> routes);
[<Android.Runtime.Register("onRoutesRemoved", "(Ljava/util/List;)V", "GetOnRoutesRemoved_Ljava_util_List_Handler", ApiSince=30)>]
abstract member OnRoutesRemoved : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit
override this.OnRoutesRemoved : System.Collections.Generic.IList<Android.Media.MediaRoute2Info> -> unit

Parameters

routes
IList<MediaRoute2Info>

the list of routes that have been removed. It's never empty.

Attributes

Remarks

Called when routes are removed.

This member is deprecated. Use #onRoutesUpdated(List) instead.

Java documentation for android.media.MediaRouter2.RouteCallback.onRoutesRemoved(java.util.List<android.media.MediaRoute2Info>).

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.

Applies to