| 限定符和类型 | 字段 | 说明 |
|---|---|---|
float |
clockRate |
Indicates the rate of the media clock relative to the system clock.
|
long |
mediaTimeUs |
Indicates the media data timestamp, in microseconds.
|
long |
nanoTime |
Indicates the media data timestamp, in nanoseconds.
|
| 构造器 | 说明 |
|---|---|
MediaTimeInfo() |
public float clockRate
Value 1.0 means that the media clock is synchronized with the system time.
A value greater than 1.0 means that the media clock is faster than the system time.
A value smaller than 1.0 means that the media clock is slower than the system time.
public long mediaTimeUs
public long nanoTime
public static Player.MediaTimeInfo createFromParcel(Parcel parcel)
MediaTimeInfo instance based on the specified Parcel instance.parcel - Indicates the Parcel instance, which cannot be null.MediaTimeInfo instance if the creation is successful;
returns null otherwise.