Language

RemoteControlClient.MetadataEditor.PutLong(MetadataKey, Int64) Method

Definition

Adds numerical information to be displayed.

[Android.Runtime.Register("putLong", "(IJ)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutLong_IJHandler")]
public virtual Android.Media.RemoteControlClient.MetadataEditor? PutLong(Android.Media.MetadataKey key, long value);
[<Android.Runtime.Register("putLong", "(IJ)Landroid/media/RemoteControlClient$MetadataEditor;", "GetPutLong_IJHandler")>]
override this.PutLong : Android.Media.MetadataKey * int64 -> Android.Media.RemoteControlClient.MetadataEditor

Parameters

key
MetadataKey

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

value
Int64

The long value for the given key

Returns

Returns a reference to the same MetadataEditor object, so you can chain put calls together.

Attributes

Exceptions

Remarks

Adds numerical information to be displayed. Note that none of the information added after apply() has been called, will be displayed.

Android reference for android.media.RemoteControlClient.MetadataEditor.putLong.

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