Condividi tramite


DrmInfoRequest.Put(String, Object) Method

Definition

Adds optional information as key-value pairs to this object.

[Android.Runtime.Register("put", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPut_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual void Put (string? key, Java.Lang.Object? value);
[<Android.Runtime.Register("put", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPut_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member Put : string * Java.Lang.Object -> unit
override this.Put : string * Java.Lang.Object -> unit

Parameters

key
String

The key to add.

value
Object

The value to add.

Attributes

Remarks

Adds optional information as key-value pairs to this object.

Java documentation for android.drm.DrmInfoRequest.put(java.lang.String, java.lang.Object).

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