unregisterGeofence
⚠️
Deprecated
Requires:
MapKit≥3.0.1@ray-js/ray≥1.2.10
Platforms:
iOSAndroid
Method signature
unregisterGeofence(params: )Minimum SDK versions
- iOS
ThingSmartMapKitBizBundle - ≥ 5.2.0
- Android
com.thingclips.smart:thingsmart-bizbundle-mapkit - ≥ 5.2.0
Description
Unregister a geofence. Permission: [scope.location]
Parameters
| Property | Type | Required | Default | Description | Minimum SDK versions |
|---|---|---|---|---|---|
geoTitle | string | No | - | Geofence name | — |
longitude | number | No | 0.0 | Longitude | — |
latitude | number | No | 0.0 | Latitude | — |
radius | number | No | 0 | Radius | — |
geofenceId | string | No | - | id | — |
type | number | No | 0 | Radius 0: enter geofence 1: leave geofence | — |
complete | () => void | No | - | Completion callback (executed on both success and failure) | — |
success | () => void | No | - | Callback on successful API call | — |
fail | (params: Object) => void | No | - | Failure callback | — |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None