updateGeofence
⚠️
Deprecated
Requires:
MapKit≥3.0.1@ray-js/ray≥1.2.10
Platforms:
iOSAndroid
Method signature
updateGeofence(params: )Minimum SDK versions
- iOS
ThingSmartMapKitBizBundle - ≥ 5.2.0
- Android
com.thingclips.smart:thingsmart-bizbundle-mapkit - ≥ 5.2.0
Description
Update a geofence. Permission: [scope.location]
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
| Yes | Registered geofence | — | ||
| Yes | Unregistered geofence | — | ||
complete | () => void | No | Completion callback (executed on both success and failure) | — |
success | (params: Object) => void | No | Callback on successful API call | — |
fail | (params: Object) => void | No | Failure callback | — |
success callback parameters
| Property | Type | Description | MapKit Since | Minimum SDK versions |
|---|---|---|---|---|
success | boolean | Update successful | v3.0.5 | — |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None