toValue method
Implementation
int toValue() {
switch (this) {
case AMapLocationRegionState.AMapLocationRegionStateUnknow: return 0;
case AMapLocationRegionState.AMapLocationRegionStateInside: return 1;
case AMapLocationRegionState.AMapLocationRegionStateOutside: return 2;
default: return 0;
}
}