Builder
Functions
Link copied to clipboard
Configures the SDK to use API Key authentication. This is mutually exclusive with custom Auth plugins.
Link copied to clipboard
Finalizes configuration and creates the global Dockware.Companion.instance.
Link copied to clipboard
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
open override fun <C : Any> plugin(plugin: DockwarePlugin<C>, configure: C.() -> Unit = {}): DockwareSdk.Builder
Registers a plugin for use with the SDK.
Link copied to clipboard
Sets the SharedPreferences instance used by the SDK. Optional — takes priority over deriving one from context if both are set.