AFProximityEvent

sealed class AFProximityEvent

Cross-platform proximity events

This sealed class represents the different types of proximity events that can occur. These events are used to notify the application when a device enters or exits the proximity of a beacon, when a heartbeat is received from a beacon, or when an error occurs.

See also

Inheritors

Types

Link copied to clipboard
data class Enter(val beacon: AFBeacon) : AFProximityEvent
Link copied to clipboard
data class Error(val error: Throwable) : AFProximityEvent
Link copied to clipboard
data class Exit(val beacon: AFBeacon) : AFProximityEvent
Link copied to clipboard
data class Heartbeat(val beacon: AFBeacon) : AFProximityEvent