Share via


DrmManagerClient.GetMetadata Method

Definition

Overloads

GetMetadata(Uri)

Retrieves metadata information for rights-protected content.

GetMetadata(String)

Retrieves metadata information for rights-protected content.

GetMetadata(Uri)

Retrieves metadata information for rights-protected content.

[Android.Runtime.Register("getMetadata", "(Landroid/net/Uri;)Landroid/content/ContentValues;", "GetGetMetadata_Landroid_net_Uri_Handler")]
public virtual Android.Content.ContentValues? GetMetadata (Android.Net.Uri? uri);
[<Android.Runtime.Register("getMetadata", "(Landroid/net/Uri;)Landroid/content/ContentValues;", "GetGetMetadata_Landroid_net_Uri_Handler")>]
abstract member GetMetadata : Android.Net.Uri -> Android.Content.ContentValues
override this.GetMetadata : Android.Net.Uri -> Android.Content.ContentValues

Parameters

uri
Uri

URI for the content from which you are retrieving metadata information.

Returns

A android.content.ContentValues instance that contains key-value pairs representing the constraints. Null in case of failure.

Attributes

Remarks

Retrieves metadata information for rights-protected content.

Java documentation for android.drm.DrmManagerClient.getMetadata(android.net.Uri).

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

GetMetadata(String)

Retrieves metadata information for rights-protected content.

[Android.Runtime.Register("getMetadata", "(Ljava/lang/String;)Landroid/content/ContentValues;", "GetGetMetadata_Ljava_lang_String_Handler")]
public virtual Android.Content.ContentValues? GetMetadata (string? path);
[<Android.Runtime.Register("getMetadata", "(Ljava/lang/String;)Landroid/content/ContentValues;", "GetGetMetadata_Ljava_lang_String_Handler")>]
abstract member GetMetadata : string -> Android.Content.ContentValues
override this.GetMetadata : string -> Android.Content.ContentValues

Parameters

path
String

Path to the content from which you are retrieving metadata information.

Returns

A android.content.ContentValues instance that contains key-value pairs representing the metadata. Null in case of failure.

Attributes

Remarks

Retrieves metadata information for rights-protected content.

Java documentation for android.drm.DrmManagerClient.getMetadata(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