from static method
Returns player state which matches specified int value
Implementation
static PlayerState from(int val) {
switch (val) {
case SiprixVoipSdk.kPlayerStateStarted: return PlayerState.started;
case SiprixVoipSdk.kPlayerStateStopped: return PlayerState.stoppped;
default: return PlayerState.failed;
}
}