Builder

interface Builder

Inheritors

Functions

Link copied to clipboard
abstract fun context(context: Context): Dockware.Builder

Sets the context instance used by the SDK. Optional — only needed if sharedPreferences isn't called directly; when provided (and sharedPreferences isn't), it's used to build the SDK's SharedPreferences instance.

Link copied to clipboard

Sets the SharedPreferences instance used by the SDK. Optional — takes priority over deriving one from context if both are set.