toBMKSearchErrorCode method
Implementation
BMKSearchErrorCode toBMKSearchErrorCode() {
switch (this) {
case 0: return BMKSearchErrorCode.BMK_SEARCH_NO_ERROR;
case 1: return BMKSearchErrorCode.BMK_SEARCH_AMBIGUOUS_KEYWORD;
case 2: return BMKSearchErrorCode.BMK_SEARCH_AMBIGUOUS_ROURE_ADDR;
case 3: return BMKSearchErrorCode.BMK_SEARCH_NOT_SUPPORT_BUS;
case 4: return BMKSearchErrorCode.BMK_SEARCH_NOT_SUPPORT_BUS_2CITY;
case 5: return BMKSearchErrorCode.BMK_SEARCH_RESULT_NOT_FOUND;
case 6: return BMKSearchErrorCode.BMK_SEARCH_ST_EN_TOO_NEAR;
case 7: return BMKSearchErrorCode.BMK_SEARCH_KEY_ERROR;
case 8: return BMKSearchErrorCode.BMK_SEARCH_NETWOKR_ERROR;
case 9: return BMKSearchErrorCode.BMK_SEARCH_NETWOKR_TIMEOUT;
case 10: return BMKSearchErrorCode.BMK_SEARCH_PERMISSION_UNFINISHED;
case 11: return BMKSearchErrorCode.BMK_SEARCH_INDOOR_ID_ERROR;
case 12: return BMKSearchErrorCode.BMK_SEARCH_FLOOR_ERROR;
case 13: return BMKSearchErrorCode.BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING;
case 14: return BMKSearchErrorCode.BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING;
case 15: return BMKSearchErrorCode.BMK_SEARCH_PARAMETER_ERROR;
case 16: return BMKSearchErrorCode.BMK_SEARCH_SERVER_ERROR;
case 17: return BMKSearchErrorCode.BMK_SEARCH_SERVER_NO_PERMISSIONS;
case 18: return BMKSearchErrorCode.BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS;
case 19: return BMKSearchErrorCode.BMK_SEARCH_SERVER_DISTRICT_NO_DATA;
case 20: return BMKSearchErrorCode.BMK_SEARCH_SERVER_DISTRICT_ID_ERROR;
default: return BMKSearchErrorCode.values[this + 0];
}
}