Sdílet prostřednictvím


MediaTimestamp.MediaClockRate Property

Definition

Get the rate of the media clock in relation to the system time.

public float MediaClockRate { [Android.Runtime.Register("getMediaClockRate", "()F", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getMediaClockRate", "()F", "", ApiSince=23)>]
member this.MediaClockRate : single

Property Value

Attributes

Remarks

Get the rate of the media clock in relation to the system time.

It is 1.0 if media clock advances in sync with the system clock; greater than 1.0 if media clock is faster than the system clock; less than 1.0 if media clock is slower than the system clock.

Java documentation for android.media.MediaTimestamp.getMediaClockRate().

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