# Builder
class Builder(projectId: String)
# Parameters
projectId | required to link the SDK with the project on the MIRACLTrust platform. |
# Constructors
Builder | constructor(projectId: String) |
# Functions
Name | Summary |
---|---|
applicationInfo | fun applicationInfo(applicationInfo: String): Configuration.Builder Sets additional information that will be sent via X-MIRACL-CLIENT HTTP header. |
build | fun build(): Configuration |
connectTimeout | fun connectTimeout(connectTimeout: Int): Configuration.Builder Sets HTTP requests connect timeout in seconds to be used by the SDK default HttpRequestExecutor. |
deviceName | fun deviceName(deviceName: String): Configuration.Builder Sets value of device name. |
httpRequestExecutor | fun httpRequestExecutor(httpRequestExecutor: HttpRequestExecutor): Configuration.Builder Provides implementation of the HttpRequestExecutor interface to be used by the SDK. |
logger | fun logger(logger: Logger): Configuration.Builder Provides implementation of the Logger interface to be used by the SDK. |
loggingLevel | fun loggingLevel(loggingLevel: Logger.LoggingLevel): Configuration.Builder Provides specific Logger.LoggingLevel to be used by the SDK default logger. |
platformUrl | fun platformUrl(platformUrl: String): Configuration.Builder Sets custom MIRACL platform URL. |
readTimeout | fun readTimeout(readTimeout: Int): Configuration.Builder Sets HTTP requests read timeout in seconds to be used by the SDK default HttpRequestExecutor. |
userStorage | fun userStorage(userStorage: UserStorage): Configuration.Builder Provides implementation of the UserStorage interface to be used by the SDK. |