CLASS
IPSLocalProximityEventTrigger
public final class IPSLocalProximityEventTrigger
This object defines the type of trigger for a proximity event. Use the static methods to access the available options.
- Since: 5.1.0
Methods
onEnter()
public static func onEnter() -> IPSLocalProximityEventTrigger
The event should trigger when user enters the relevant location.
- Since: 5.1.0
onExit()
public static func onExit() -> IPSLocalProximityEventTrigger
The event should trigger when user exits the relevant location.
- Since: 5.1.0
onDwell(seconds:)
public static func onDwell(seconds: Double) -> IPSLocalProximityEventTrigger
The event should trigger when user dwells in the relevant location.
- Parameters:
-
seconds: How long the user should dwell before the action will be triggered.
-
Since: 5.1.0
Parameters
| Name | Description |
|---|---|
| seconds | How long the user should dwell before the action will be triggered. |