getTypeValue static method
Implementation
static NERoomRtcNetworkStatusType getTypeValue(int index) {
switch (index) {
case 1:
return NERoomRtcNetworkStatusType.kStatusExcellent;
case 2:
return NERoomRtcNetworkStatusType.kStatusGood;
case 3:
return NERoomRtcNetworkStatusType.kStatusPoor;
case 4:
return NERoomRtcNetworkStatusType.kStatusBad;
case 5:
return NERoomRtcNetworkStatusType.kStatusVeryBad;
case 6:
return NERoomRtcNetworkStatusType.kStatusDown;
default:
return NERoomRtcNetworkStatusType.kStatusUnknown;
}
}