Compartilhar via


MediaRouter2.GetInstance(Context) Method

Definition

Gets an instance of the media router associated with the context.

[Android.Runtime.Register("getInstance", "(Landroid/content/Context;)Landroid/media/MediaRouter2;", "", ApiSince=30)]
public static Android.Media.MediaRouter2 GetInstance (Android.Content.Context context);
[<Android.Runtime.Register("getInstance", "(Landroid/content/Context;)Landroid/media/MediaRouter2;", "", ApiSince=30)>]
static member GetInstance : Android.Content.Context -> Android.Media.MediaRouter2

Parameters

context
Context

Returns

Attributes

Remarks

Gets an instance of the media router associated with the context.

Java documentation for android.media.MediaRouter2.getInstance(android.content.Context).

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