//sdk-realtime/me.oriient.ipssdk.ips/IPSProximity
IPSProximity
[androidJvm]\ open class IPSProximity
This class represents the Indoor Positioning System (IPS) Proximity Triggers Client. It is the element by which all communication with the Proximity Triggers server is performed, and all services are delivered. This object informs the application in real time about the state of the Proximity ProximityTrigger objects on the map on which the navigation is currently performed and any interaction the user is making with them.
Since
2.2.2
Types
| Name | Summary |
|---|---|
| ProximityServiceState | [androidJvm] @Retention(value = RetentionPolicy.SOURCE) annotation class ProximityServiceState This IntDef represents the state of the proximity service. |
Functions
| Name | Summary |
|---|---|
| addLocalProximityEvents | [androidJvm] open fun addLocalProximityEvents(events: List<IPSLocalProximityEvent>) Adds new local proximity events that the SDK will notify when the user interacts with them. |
| addLocationVisitEvents | [androidJvm] open fun addLocationVisitEvents(events: List<IPSLocationVisit>) Adds new location visit events that the SDK will notify when the user leaves them. |
| addProximityEventsListener | [androidJvm] open fun addProximityEventsListener(@NonNulllistener: IPSProximityEventsListener) A method for adding a listener to receive updates regarding proximity triggers triggerEvents. |
| addTriggersListener | [androidJvm] open fun addTriggersListener(@NonNulllistener: IPSTriggersListener) A method for adding a listener to receive updates regarding proximity triggers. |
| describeServiceState | [androidJvm] open fun describeServiceState(state: Int): String This method returns a String describing a IPSProximity.ProximityServiceState. |
| getRegionsContainingUser | [androidJvm] @NonNull open fun getRegionsContainingUser(): List<out IPSRegion> |
| getServiceState | [androidJvm] open fun getServiceState(): Int |
| removeAllLocalProximityEvents | [androidJvm] open fun removeAllLocalProximityEvents() Removes all existing local proximity events. |
| removeAllLocationVisitEvents | [androidJvm] open fun removeAllLocationVisitEvents() Removes all existing location visit events. |
| removeLocalProximityEvents | [androidJvm] open fun removeLocalProximityEvents(events: List<IPSLocalProximityEvent>) Removes existing local proximity events, if already registered. |
| removeLocalProximityEventsByGroupIds | [androidJvm] open fun removeLocalProximityEventsByGroupIds(groupIds: List<String>) Removes existing local proximity events, if already registered. |
| removeLocationVisitEvents | [androidJvm] open fun removeLocationVisitEvents(events: List<IPSLocationVisit>) Removes existing location visit events, if already registered. |
| removeLocationVisitEventsByGroupIds | [androidJvm] open fun removeLocationVisitEventsByGroupIds(groupIds: List<String>) Removes existing local proximity events, if already registered. |
| removeProximityEventsListener | [androidJvm] open fun removeProximityEventsListener(@NonNulllistener: IPSProximityEventsListener) A method for removing a proximity triggers triggerEvents listener. |
| removeTriggersListener | [androidJvm] open fun removeTriggersListener(@NonNulllistener: IPSTriggersListener) A method for removing a proximity triggers listener. |
| setLocalProximityEvents | [androidJvm] open fun setLocalProximityEvents(events: List<IPSLocalProximityEvent>) Replaces the current list of local proximity events the SDK notify with the new list. |
| setLocationVisitEvents | [androidJvm] open fun setLocationVisitEvents(events: List<IPSLocationVisit>) Replaces the current list of location visit events the SDK notify with the new list. |