次の方法で共有


MediaPlayer.SetDrmPropertyString(String, String) Method

Definition

Set a DRM engine plugin String property value.

[Android.Runtime.Register("setDrmPropertyString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetDrmPropertyString_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=26)]
public virtual void SetDrmPropertyString (string propertyName, string value);
[<Android.Runtime.Register("setDrmPropertyString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetDrmPropertyString_Ljava_lang_String_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member SetDrmPropertyString : string * string -> unit
override this.SetDrmPropertyString : string * string -> unit

Parameters

propertyName
String

the property name

value
String

the property value

        Standard fields names are:
        <code data-dev-comment-type="c">MediaDrm#PROPERTY_VENDOR</code>, <code data-dev-comment-type="c">MediaDrm#PROPERTY_VERSION</code>,
        <code data-dev-comment-type="c">MediaDrm#PROPERTY_DESCRIPTION</code>, <code data-dev-comment-type="c">MediaDrm#PROPERTY_ALGORITHMS</code>
Attributes

Remarks

Set a DRM engine plugin String property value.

Java documentation for android.media.MediaPlayer.setDrmPropertyString(java.lang.String, 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