Share via


TvRecordingInfo.RecordingDurationMillis Property

Definition

The real duration of the recording, including any padding, in milliseconds since the epoch.

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

Property Value

Attributes

Remarks

The real duration of the recording, including any padding, in milliseconds since the epoch.

This may not be the same as the value of #getScheduledDurationMillis() due to a recording starting late, or due to start/end padding.

Returns -1 for recordings that have not yet started.

Java documentation for android.media.tv.TvRecordingInfo.getRecordingDurationMillis().

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