state Gets the current player state. public int state() Return Values When the method call succeeds, returns the current player state.