BullittApis

interface BullittApis

Primary interface for interacting with the Bullitt SDK.

Provides functionality for device discovery, pairing, and management. Access this interface through BullittSDK.bullittApis.

Properties

Link copied to clipboard
abstract val globalEvents: Flow<GlobalEvent>

Flow of global SDK events.

Functions

Link copied to clipboard

Confirms linking with a device after pairing information has been exchanged.

Link copied to clipboard

Gets the currently linked satellite device, if any.

Link copied to clipboard
abstract suspend fun listDevices(timeoutInMillis: Long = 10000): Flow<StreamResponse<DeviceScanResult>>

Discovers nearby satellite devices that can be paired with.

Link copied to clipboard
abstract suspend fun removeLinkedDevice()

Removes the currently linked device.

Link copied to clipboard
abstract suspend fun requestDevicePairing(deviceScanResult: DeviceScanResult): Response<DevicePairingInfo>

Initiates the pairing process with a device.

Link copied to clipboard
abstract fun setConfig(config: BullittConfig): Response<Unit>

Sets configuration parameters for the SDK.