MediaRouter.RouteCategory.GetRoutes 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.
Return the current list of routes in this category that have been added to the MediaRouter.
[Android.Runtime.Register("getRoutes", "(Ljava/util/List;)Ljava/util/List;", "GetGetRoutes_Ljava_util_List_Handler")]
public virtual System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo>? GetRoutes (System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo>? out);
[<Android.Runtime.Register("getRoutes", "(Ljava/util/List;)Ljava/util/List;", "GetGetRoutes_Ljava_util_List_Handler")>]
abstract member GetRoutes : System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo> -> System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo>
override this.GetRoutes : System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo> -> System.Collections.Generic.IList<Android.Media.MediaRouter.RouteInfo>
Parameters
a List to fill with the routes in this category. If this parameter is non-null, it will be cleared, filled with the current routes with this category, and returned. If this parameter is null, a new List will be allocated to report the category's current routes.
Returns
A list with the routes in this category that have been added to the MediaRouter.
- Attributes
Remarks
Return the current list of routes in this category that have been added to the MediaRouter.
This list will not include routes that are nested within RouteGroups. A RouteGroup is treated as a single route within its category.
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.