Android.Media.MediaMetadataEditor.PutLong Method
Adds numerical information.

Syntax

[Android.Runtime.Register("putLong", "(IJ)Landroid/media/MediaMetadataEditor;", "GetPutLong_IJHandler")]
public virtual MediaMetadataEditor PutLong ([Android.Runtime.GeneratedEnum] MediaMetadataEditKey key, long value)

Parameters

key
the identifier of a the metadata field to set. Valid values are MediaMetadataRetriever.MetadataKeyCdTrackNumber, MediaMetadataRetriever.MetadataKeyDiscNumber, MediaMetadataRetriever.MetadataKeyDuration (with a value expressed in milliseconds), MediaMetadataRetriever.MetadataKeyYear.
value
The long value for the given key

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentException

Remarks

Adds numerical information. Note that none of the information added after MediaMetadataEditor.Apply has been called will be available to consumers of metadata stored by the MediaMetadataEditor.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0