forValue static method
Implementation
static PlayerSDKState forValue(int id) {
PlayerSDKState ret = PlayerSDKState.Closed;
for (PlayerSDKState item in _typesByValue) {
if (item.value == id) { return item; }
}
return ret;
}
static PlayerSDKState forValue(int id) {
PlayerSDKState ret = PlayerSDKState.Closed;
for (PlayerSDKState item in _typesByValue) {
if (item.value == id) { return item; }
}
return ret;
}