Builder

class Builder

A builder class used to configure and set up your Beacon instance.

This builder should typically be called within your Application's onCreate() method.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun build(): Beacon
Builds and configures the Beacon instance based on the Builder's settings.
Link copied to clipboard
open fun withBeaconId(@NotNull beaconId: @NotNull String): Beacon.Builder
Sets the Beacon ID for the Beacon instance.
Link copied to clipboard
open fun withContext(@NotNull context: @NotNull Context): Beacon.Builder
Provides the application context for Beacon initialization.
Link copied to clipboard
open fun withLogsEnabled(logsEnabled: Boolean): Beacon.Builder
Enables or disables developer logs in Logcat.