isPlayable method

bool isPlayable()

Check if player is playable

Only the four state FijkState.prepared \ FijkState.started
FijkState.paused \ FijkState.completed are playable

Implementation

bool isPlayable() {
  FijkState current = value.state;
  return FijkState.prepared == current ||
      FijkState.started == current ||
      FijkState.paused == current ||
      FijkState.completed == current;
}