MediaStore.GetVersion Method

Definition

Overloads

GetVersion(Context)

Get the media provider's version.

GetVersion(Context, String)

GetVersion(Context)

Get the media provider's version.

[Android.Runtime.Register("getVersion", "(Landroid/content/Context;)Ljava/lang/String;", "")]
public static string GetVersion (Android.Content.Context context);
[<Android.Runtime.Register("getVersion", "(Landroid/content/Context;)Ljava/lang/String;", "")>]
static member GetVersion : Android.Content.Context -> string

Parameters

context
Context

Context to use for performing the query.

Returns

Attributes

Remarks

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

GetVersion(Context, String)

[Android.Runtime.Register("getVersion", "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=29)]
public static string GetVersion (Android.Content.Context context, string volumeName);
[<Android.Runtime.Register("getVersion", "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=29)>]
static member GetVersion : Android.Content.Context * string -> string

Parameters

context
Context
volumeName
String

Returns

Attributes

Applies to