proximity-sdk / com.estimote.proximity_sdk.api / ProximityZoneBuilder / CallbackBuilder

CallbackBuilder

class CallbackBuilder

Builder for setting up actions and creating the final object

Constructors

<init>

CallbackBuilder(tag: String, desiredMeanTriggerDistance: Double)

Builder for setting up actions and creating the final object

Functions

build

fun build(): ProximityZone

onContextChange

fun onContextChange(onChange: (Set<ProximityZoneContext>) -> Unit): CallbackBuilder

onEnter

fun onEnter(onEnter: (ProximityZoneContext) -> Unit): CallbackBuilder

onExit

fun onExit(onExit: (ProximityZoneContext) -> Unit): CallbackBuilder