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

Attributes

Exceptions

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