desiredState property

  1. @visibleForTesting
PlayerState desiredState
getter/setter pair

Auxiliary variable to re-check the volatile player state during async operations.

Implementation

@visibleForTesting
PlayerState desiredState = PlayerState.stopped;