toValue method

int toValue()

Implementation

int toValue() {
  switch (this) {
    case BMKOpenErrorCode.BMK_OPEN_NO_ERROR: return 0;
    case BMKOpenErrorCode.BMK_OPEN_WEB_MAP: return 1;
    case BMKOpenErrorCode.BMK_OPEN_OPTION_NULL: return 2;
    case BMKOpenErrorCode.BMK_OPEN_NOT_SUPPORT: return 3;
    case BMKOpenErrorCode.BMK_OPEN_POI_DETAIL_UID_NULL: return 4;
    case BMKOpenErrorCode.BMK_OPEN_POI_NEARBY_KEYWORD_NULL: return 5;
    case BMKOpenErrorCode.BMK_OPEN_ROUTE_START_ERROR: return 6;
    case BMKOpenErrorCode.BMK_OPEN_ROUTE_END_ERROR: return 7;
    case BMKOpenErrorCode.BMK_OPEN_PANORAMA_UID_ERROR: return 8;
    case BMKOpenErrorCode.BMK_OPEN_PANORAMA_ABSENT: return 9;
    case BMKOpenErrorCode.BMK_OPEN_PERMISSION_UNFINISHED: return 10;
    case BMKOpenErrorCode.BMK_OPEN_KEY_ERROR: return 11;
    case BMKOpenErrorCode.BMK_OPEN_NETWOKR_ERROR: return 12;
    default: return 0;
  }
}