Methods Summary |
---|
public static long | getActions(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getActions();
|
public static long | getBufferedPosition(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getBufferedPosition();
|
public static java.lang.CharSequence | getErrorMessage(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getErrorMessage();
|
public static long | getLastPositionUpdateTime(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getLastPositionUpdateTime();
|
public static float | getPlaybackSpeed(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getPlaybackSpeed();
|
public static long | getPosition(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getPosition();
|
public static int | getState(java.lang.Object stateObj)
return ((PlaybackState)stateObj).getState();
|
public static java.lang.Object | newInstance(int state, long position, long bufferedPosition, float speed, long actions, java.lang.CharSequence errorMessage, long updateTime)
PlaybackState.Builder stateObj = new PlaybackState.Builder();
stateObj.setState(state, position, speed, updateTime);
stateObj.setBufferedPosition(bufferedPosition);
stateObj.setActions(actions);
stateObj.setErrorMessage(errorMessage);
return stateObj.build();
|