Aracılığıyla paylaş


MediaMetadata.MetadataKeyMediaId Field

Definition

A String key for identifying the content.

[Android.Runtime.Register("METADATA_KEY_MEDIA_ID")]
public const string MetadataKeyMediaId;
[<Android.Runtime.Register("METADATA_KEY_MEDIA_ID")>]
val mutable MetadataKeyMediaId : string

Field Value

Implements

Attributes

Remarks

A String key for identifying the content. This value is specific to the service providing the content. If used, this should be a persistent unique key for the underlying content. It may be used with MediaController.TransportControls#playFromMediaId(String, Bundle) to initiate playback when provided by a MediaBrowser connected to the same app.

Java documentation for android.media.MediaMetadata.METADATA_KEY_MEDIA_ID.

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