//sdk-realtime/me.oriient.ipssdk.ips/IPSLocalProximityEvent
IPSLocalProximityEvent
[androidJvm]\ class IPSLocalProximityEvent
By creating these objects and providing them to the relevant methods of IPSProximity you can setup the proximity-related events in the runtime.
Since
5.1.0
Constructors
| IPSLocalProximityEvent | [androidJvm] constructor(groupId: String?, buildingId: String, floorOrder: Int, trigger: IPSLocalProximityEventTrigger, locationDefinition: IPSLocalProximityLocationDefinition, repetitionStrategy: IPSLocalProximityEventRepetitionStrategy, action: () -> Unit) |
Properties
| Name | Summary |
|---|---|
| action | [androidJvm] val action: () -> Unit Action that will be triggered when this event conditions are met. |
| buildingId | [androidJvm] val buildingId: String ID of the building in which this event should be monitored. Positioning in a different building will not affect this event. |
| floorOrder | [androidJvm] val floorOrder: Int Floor order in the building on which this event should be monitored. Positioning on a different floor will not affect this event. |
| groupId | [androidJvm] val groupId: String? Group id of this event, can be used to group related events and remove them at once. |
| locationDefinition | [androidJvm] val locationDefinition: IPSLocalProximityLocationDefinition Location definition that this event should use. |
| repetitionStrategy | [androidJvm] val repetitionStrategy: IPSLocalProximityEventRepetitionStrategy Repetition strategy that this event should use. |
| trigger | [androidJvm] val trigger: IPSLocalProximityEventTrigger Type of the trigger that this event should use. |