fromZego static method
Implementation
static ZegoUIKitMediaPlayState fromZego(
ZegoMediaPlayerState zegoMediaPlayerState) {
switch (zegoMediaPlayerState) {
case ZegoMediaPlayerState.NoPlay:
return ZegoUIKitMediaPlayState.noPlay;
case ZegoMediaPlayerState.Playing:
return ZegoUIKitMediaPlayState.playing;
case ZegoMediaPlayerState.Pausing:
return ZegoUIKitMediaPlayState.pausing;
case ZegoMediaPlayerState.PlayEnded:
return ZegoUIKitMediaPlayState.playEnded;
}
}