FileDocCategorySizeDatePackage
PlaybackStateCompatApi21.javaAPI DocAndroid 5.1 API2141Thu Mar 12 22:22:56 GMT 2015android.support.v4.media.session

PlaybackStateCompatApi21

public class PlaybackStateCompatApi21 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static longgetActions(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getActions();
    
public static longgetBufferedPosition(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getBufferedPosition();
    
public static java.lang.CharSequencegetErrorMessage(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getErrorMessage();
    
public static longgetLastPositionUpdateTime(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getLastPositionUpdateTime();
    
public static floatgetPlaybackSpeed(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getPlaybackSpeed();
    
public static longgetPosition(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getPosition();
    
public static intgetState(java.lang.Object stateObj)

        return ((PlaybackState)stateObj).getState();
    
public static java.lang.ObjectnewInstance(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();