from static method
Returns enum item which matches int constant
Implementation
static UpgradeToVideoMode from(int val) {
switch(val) {
case SiprixVoipSdk.kUpgradeToVideoSendRecv: return UpgradeToVideoMode.SendRecv;
case SiprixVoipSdk.kUpgradeToVideoInactive: return UpgradeToVideoMode.Inactive;
case SiprixVoipSdk.kUpgradeToVideoManual : return UpgradeToVideoMode.Manual;
default: return UpgradeToVideoMode.RecvOnly;
}
}