HealbeSdk

open class HealbeSdk

Root SDK class. Contains interfaces for all SDK operations.

Types

Link copied to clipboard
open class Configuration
Class for configuration Healbe SDK during initialization.

Properties

Link copied to clipboard
Alarms operations interface, contains methods for operations with alarms.
Link copied to clipboard
Default log type for sendLogs
Link copied to clipboard
val GOBE: GoBe
Wristband operations interface, contains methods for wristband operations and observers for wristband states.
Link copied to clipboard
HealthData operations interface, contains methods for getting and observing health data (data of measurements)
Link copied to clipboard
Operative data interface, contains methods for operative data (sync status, heart rate, firmware update availability...
Link copied to clipboard
val USER: User
User operations interface, contains methods for user operations.

Functions

Link copied to clipboard
open fun addAddLogsStrategy(@NotNull strategies: Array<@NotNull AdditionalLogFilesStrategy>)
Add strategies for adding additional files for sending to the server via sendLogs
Link copied to clipboard
Clear strategy for adding additional files for sending to the server via sendLogs
Link copied to clipboard
open fun get(): HealbeSdk
Sdk instance getter
Link copied to clipboard
open fun getGroupMinutes(): Int
getGrouping size for
Link copied to clipboard
open fun init(@NotNull context: @NotNull Context): Completable
open fun init(@NotNull context: @NotNull Context, @NotNull configuration: @NotNull HealbeSdk.Configuration): Completable
Init sdk.
Link copied to clipboard
Returns true if logs uploading currently and false otherwise.
Link copied to clipboard
Link copied to clipboard
open fun removeAddLogsStrategy(@NotNull strategy: @NotNull AdditionalLogFilesStrategy)
Remove strategy from list of strategies for adding additional files for sending to the server via sendLogs
Link copied to clipboard
@NotNull
open fun sendLogs(@NotNull context: @NotNull Context, logType: Int): @NotNull Flowable<Integer>
Send SDK logs to the server.
Link copied to clipboard
open fun waitSdk(): Single<HealbeSdk>
SDK instance will be emitted when it's been initialized by init call.