Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class PendingPlugin<C : Any>(val plugin: DockwarePlugin<C>, val configure: C.() -> Unit)

Functions

Link copied to clipboard
open override fun apiKey(key: String): DockwareSdk.Builder

Configures the SDK to use API Key authentication. This is mutually exclusive with custom Auth plugins.

Link copied to clipboard
open override fun build()

Finalizes configuration and creates the global Dockware.Companion.instance.

Link copied to clipboard
open override fun context(context: Context): DockwareSdk.Builder

Sets the context instance used by the SDK.

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.