SdkPreferences

@Singleton
class SdkPreferences @Inject constructor(application: Application)

Singleton class responsible for managing persistent storage of SDK preferences and data.

This class provides methods to store and retrieve satellite device information and SDK configuration using Android's SharedPreferences. All data is stored in a private preferences file named "bullitt_sdk_preferences".

Constructors

Link copied to clipboard
@Inject
constructor(application: Application)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun getConfig(): BullittConfig?

Retrieves the stored SDK configuration.

Link copied to clipboard

Retrieves the currently paired satellite device information.