getInstance

open fun getInstance(@NonNull publishableKey: String): HyperTrack

Entry point to SDK usage.

Return

sdk instance that could be used to configure tracking settings and manipulate tracking state.

Parameters

publishableKey

Get it from HyperTrack dashboard. It is only used in first invocation, so providing different keys during one application session will have no effect.

Throws

if null or empty publishable key was passed in.