Android.Media.RemoteControlClient.MetadataEditor.PutLong Method
Adds numerical information to be displayed.

Syntax

[Android.Runtime.Register("putLong", "(IJ)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutLong_IJHandler")]
public virtual RemoteControlClient.MetadataEditor PutLong ([Android.Runtime.GeneratedEnum] MetadataKey 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 to be displayed. Note that none of the information added after Android.Media.RemoteControlClient.MetadataEditor.Apply has been called, will be displayed.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14