public abstract class AbsDanmakuSync
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
SYNC_STATE_HALT |
static int |
SYNC_STATE_PLAYING |
构造器和说明 |
---|
AbsDanmakuSync() |
限定符和类型 | 方法和说明 |
---|---|
abstract int |
getSyncState()
Get the state of timer synchronization
|
long |
getThresholdTimeMills()
Get the threshold-time of timer synchronization
This value should be greater than or equal to 1000L
|
abstract long |
getUptimeMillis()
Get the uptime of timer synchronization
|
boolean |
isSyncPlayingState()
synchronize pause/resume state with outside playback
|
public static final int SYNC_STATE_HALT
public static final int SYNC_STATE_PLAYING
public abstract long getUptimeMillis()
public abstract int getSyncState()
public long getThresholdTimeMills()
public boolean isSyncPlayingState()