Condividi tramite


MediaRouter.CreateRouteCategory Method

Definition

Overloads

CreateRouteCategory(ICharSequence, Boolean)

Create a new route category.

CreateRouteCategory(Int32, Boolean)

Create a new route category.

CreateRouteCategory(String, Boolean)

Create a new route category.

CreateRouteCategory(ICharSequence, Boolean)

Create a new route category.

[Android.Runtime.Register("createRouteCategory", "(Ljava/lang/CharSequence;Z)Landroid/media/MediaRouter$RouteCategory;", "GetCreateRouteCategory_Ljava_lang_CharSequence_ZHandler")]
public virtual Android.Media.MediaRouter.RouteCategory? CreateRouteCategory (Java.Lang.ICharSequence? name, bool isGroupable);
[<Android.Runtime.Register("createRouteCategory", "(Ljava/lang/CharSequence;Z)Landroid/media/MediaRouter$RouteCategory;", "GetCreateRouteCategory_Ljava_lang_CharSequence_ZHandler")>]
abstract member CreateRouteCategory : Java.Lang.ICharSequence * bool -> Android.Media.MediaRouter.RouteCategory
override this.CreateRouteCategory : Java.Lang.ICharSequence * bool -> Android.Media.MediaRouter.RouteCategory

Parameters

name
ICharSequence

Name of the new category

isGroupable
Boolean

true if routes in this category may be grouped with one another

Returns

the new RouteCategory

Attributes

Remarks

Java documentation for android.media.MediaRouter.createRouteCategory(int, boolean).

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

CreateRouteCategory(Int32, Boolean)

Create a new route category.

[Android.Runtime.Register("createRouteCategory", "(IZ)Landroid/media/MediaRouter$RouteCategory;", "GetCreateRouteCategory_IZHandler")]
public virtual Android.Media.MediaRouter.RouteCategory? CreateRouteCategory (int nameResId, bool isGroupable);
[<Android.Runtime.Register("createRouteCategory", "(IZ)Landroid/media/MediaRouter$RouteCategory;", "GetCreateRouteCategory_IZHandler")>]
abstract member CreateRouteCategory : int * bool -> Android.Media.MediaRouter.RouteCategory
override this.CreateRouteCategory : int * bool -> Android.Media.MediaRouter.RouteCategory

Parameters

nameResId
Int32

Resource ID of the name of the new category

isGroupable
Boolean

true if routes in this category may be grouped with one another

Returns

the new RouteCategory

Attributes

Remarks

Java documentation for android.media.MediaRouter.createRouteCategory(int, boolean).

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

CreateRouteCategory(String, Boolean)

Create a new route category.

public Android.Media.MediaRouter.RouteCategory? CreateRouteCategory (string? name, bool isGroupable);
member this.CreateRouteCategory : string * bool -> Android.Media.MediaRouter.RouteCategory

Parameters

name
String
isGroupable
Boolean

true if routes in this category may be grouped with one another

Returns

the new RouteCategory

Remarks

Java documentation for android.media.MediaRouter.createRouteCategory(int, boolean).

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