次の方法で共有


MediaRouter2.GetController(String) Method

Definition

Gets a RoutingController whose ID is equal to the given ID.

[Android.Runtime.Register("getController", "(Ljava/lang/String;)Landroid/media/MediaRouter2$RoutingController;", "", ApiSince=31)]
public Android.Media.MediaRouter2.RoutingController? GetController (string id);
[<Android.Runtime.Register("getController", "(Ljava/lang/String;)Landroid/media/MediaRouter2$RoutingController;", "", ApiSince=31)>]
member this.GetController : string -> Android.Media.MediaRouter2.RoutingController

Parameters

id
String

Returns

Attributes

Remarks

Java documentation for android.media.MediaRouter2.getController(java.lang.String).

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