Searched refs:geoLocationErrorCode (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | location_napi_entry.cpp | 172 napi_value geoLocationErrorCode = nullptr; in GeoLocationErrorCodeTypeConstructor() local 173 NAPI_CALL(env, napi_create_object(env, &geoLocationErrorCode)); in GeoLocationErrorCodeTypeConstructor() 174 SetEnumPropertyByInteger(env, geoLocationErrorCode, INPUT_PARAMS_ERROR, "INPUT_PARAMS_ERROR"); in GeoLocationErrorCodeTypeConstructor() 175 …SetEnumPropertyByInteger(env, geoLocationErrorCode, REVERSE_GEOCODE_ERROR, "REVERSE_GEOCODE_ERROR"… in GeoLocationErrorCodeTypeConstructor() 176 SetEnumPropertyByInteger(env, geoLocationErrorCode, GEOCODE_ERROR, "GEOCODE_ERROR"); in GeoLocationErrorCodeTypeConstructor() 177 SetEnumPropertyByInteger(env, geoLocationErrorCode, LOCATOR_ERROR, "LOCATOR_ERROR"); in GeoLocationErrorCodeTypeConstructor() 178 …SetEnumPropertyByInteger(env, geoLocationErrorCode, LOCATION_SWITCH_ERROR, "LOCATION_SWITCH_ERROR"… in GeoLocationErrorCodeTypeConstructor() 179 …SetEnumPropertyByInteger(env, geoLocationErrorCode, LAST_KNOWN_LOCATION_ERROR, "LAST_KNOWN_LOCATIO… in GeoLocationErrorCodeTypeConstructor() 180 SetEnumPropertyByInteger(env, geoLocationErrorCode, in GeoLocationErrorCodeTypeConstructor() 182 return geoLocationErrorCode; in GeoLocationErrorCodeTypeConstructor()
|