Builder

open class Builder

Constructors

Link copied to clipboard
open fun Builder()
Create builder for configuration class
Link copied to clipboard
open fun Builder(@NotNull oldConfiguration: @NotNull HealbeSdk.Configuration)
Create builder for configuration class

Functions

Link copied to clipboard
Returns resulting configuration.
Link copied to clipboard
open fun setBaseUrl(@NotNull baseUrl: @NotNull String): HealbeSdk.Configuration.Builder
Set URL for all requests to the server.
Link copied to clipboard
Set group size (in minutes) for aggregation of time series samples.
Link copied to clipboard
Update sleep cache configuration.
Link copied to clipboard
Set delay before synchronization after connection to the wristband (in milliseconds).
Link copied to clipboard
Set delay between successful synchronizations (in milliseconds).
Link copied to clipboard
open fun setWeightBaseUrl(@NotNull weightBaseUrl: @NotNull String): HealbeSdk.Configuration.Builder
Set Weight API URL for all requests to the weight server.