MediaFormat.GetValueTypeForKey(String) Method

Definition

Returns the value type for a key.

[Android.Runtime.Register("getValueTypeForKey", "(Ljava/lang/String;)I", "", ApiSince=29)]
public Android.Media.MediaFormatType GetValueTypeForKey (string name);
[<Android.Runtime.Register("getValueTypeForKey", "(Ljava/lang/String;)I", "", ApiSince=29)>]
member this.GetValueTypeForKey : string -> Android.Media.MediaFormatType

Parameters

name
String

Returns

Attributes

Remarks

Returns the value type for a key. If the key does not exist, it returns TYPE_NULL.

Java documentation for android.media.MediaFormat.getValueTypeForKey(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