Builder

class Builder

Used to config and setup your Beacon, this should be called in your Application's `onCreate()` method

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): Beacon
newly built/configured Beacon
withBeaconId
Link copied to clipboard
open fun withBeaconId(@NotNull() beaconId: @NotNull() String): Beacon.Builder
Sets the Beacon Id of the Beacon (Required)
withContext
Link copied to clipboard
open fun withContext(@NotNull() context: @NotNull() Context): Beacon.Builder
By default Beacon will auto init and not need a new reference to the application context
withLogsEnabled
Link copied to clipboard
open fun withLogsEnabled(logsEnabled: Boolean): Beacon.Builder
Enables developer logs in Logcat