Udostępnij za pośrednictwem


MediaMetadataRetriever.ExtractMetadata Method

Definition

Overloads

ExtractMetadata(MetadataKey)

Call this method after setDataSource().

ExtractMetadata(Int32)

ExtractMetadata(MetadataKey)

Call this method after setDataSource().

[Android.Runtime.Register("extractMetadata", "(I)Ljava/lang/String;", "GetExtractMetadata_IHandler")]
public virtual string? ExtractMetadata (Android.Media.MetadataKey keyCode);
[<Android.Runtime.Register("extractMetadata", "(I)Ljava/lang/String;", "GetExtractMetadata_IHandler")>]
abstract member ExtractMetadata : Android.Media.MetadataKey -> string
override this.ExtractMetadata : Android.Media.MetadataKey -> string

Parameters

keyCode
MetadataKey

One of the constants listed below at the end of the class.

Returns

The meta data value associate with the given keyCode on success; null on failure.

Attributes

Remarks

Call this method after setDataSource(). This method retrieves the meta data value associated with the keyCode.

The keyCode currently supported is listed below as METADATA_XXX constants. With any other value, it returns a null pointer.

Java documentation for android.media.MediaMetadataRetriever.extractMetadata(int).

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

ExtractMetadata(Int32)

public string? ExtractMetadata (int keyCode);
member this.ExtractMetadata : int -> string

Parameters

keyCode
Int32

Returns

Remarks

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