BullittConfig

data class BullittConfig(val userId: Long, val checkInMessage: String = "Check In:", val checkInNumber: Long = 0, val buildMode: BullittConfig.BuildMode = BuildMode.PROD, val setUserIdToServer: Boolean = true)

Configuration data class for the Bullitt SDK.

This class holds user-specific configuration settings and environment options for the SDK. It provides serialization and deserialization methods for storing and retrieving the configuration as JSON.

Constructors

Link copied to clipboard
constructor(userId: Long, checkInMessage: String = "Check In:", checkInNumber: Long = 0, buildMode: BullittConfig.BuildMode = BuildMode.PROD, setUserIdToServer: Boolean = true)

Types

Link copied to clipboard

Enum representing the different environment modes for the SDK.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The environment mode for the SDK (QA, DEV, or PROD), defaults to PROD.

Link copied to clipboard

The default check-in message template, defaults to "Check In:".

Link copied to clipboard

A counter or identifier for check-ins, defaults to 0.

Link copied to clipboard

Flag indicating whether to send the user ID to the server, defaults to true.

Link copied to clipboard

The unique identifier for the user.

Functions

Link copied to clipboard

Serializes the configuration object to a JSON string.