convertEnumValue static method
Implementation
static AlivcLivePushVideoFormat convertEnumValue(int interfaceValue) {
int index = 0;
if (interfaceValue >= -1 && interfaceValue <= 12) {
index = interfaceValue + 1;
}
return AlivcLivePushVideoFormat.values[index];
}