Condividi tramite


DrmEvent.GetAttribute(String) Method

Definition

Retrieves the attribute associated with the specified key.

[Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetAttribute_Ljava_lang_String_Handler")]
public virtual Java.Lang.Object? GetAttribute (string? key);
[<Android.Runtime.Register("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetAttribute_Ljava_lang_String_Handler")>]
abstract member GetAttribute : string -> Java.Lang.Object
override this.GetAttribute : string -> Java.Lang.Object

Parameters

key
String

Returns

One of the attributes or null if no mapping for the key is found.

Attributes

Remarks

Retrieves the attribute associated with the specified key.

Java documentation for android.drm.DrmEvent.getAttribute(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