Skip to content

//sdk-realtime/me.oriient.ipssdk.api.models/IPSProximityTrigger

IPSProximityTrigger

[androidJvm]\ interface IPSProximityTrigger

This class holds the representation of a proximity trigger. To be activated a trigger must be attached to a proximity region (IPSProximityRegion). The trigger will be activated according to the events of the trigger (see getTriggerEvents for all the events on this trigger). The events are triggered as a result of the user's interaction with the region to which the trigger is attached. For a list of supported events see IPSTriggerEvents. A trigger may be assigned to more than one region on the same map or on different maps. Every region holds a list of identifiers of the triggers attached to it. The list can be obtained from the regions by invoking getTriggerIds.

Functions

Name Summary
getId [androidJvm]
@NonNull
abstract fun getId(): String
getMetadata [androidJvm]
@Nullable
abstract fun getMetadata(): String
This field is used to store data specific to this trigger across all regions which contain it.
getName [androidJvm]
@NonNull
abstract fun getName(): String
getTriggerEvents [androidJvm]
@NonNull
abstract fun getTriggerEvents(): List<out IPSTriggerEvent>