Share via


MediaItemInfo.DurationMillis Property

Definition

Returns the duration of the media item, in milliseconds, or #VALUE_UNSPECIFIED if not specified.

public long DurationMillis { [Android.Runtime.Register("getDurationMillis", "()J", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getDurationMillis", "()J", "", ApiSince=35)>]
member this.DurationMillis : int64

Property Value

Attributes

Remarks

Returns the duration of the media item, in milliseconds, or #VALUE_UNSPECIFIED if not specified.

Java documentation for android.media.metrics.MediaItemInfo.getDurationMillis().

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