Skip to content

Instantly share code, notes, and snippets.

@andreisavu
Last active November 24, 2021 03:04
Show Gist options
  • Save andreisavu/0cc11debead49c6941b6fc8eea8aa329 to your computer and use it in GitHub Desktop.
Save andreisavu/0cc11debead49c6941b6fc8eea8aa329 to your computer and use it in GitHub Desktop.
import io.moonsense.sdk.Moonsense
import io.moonsense.sdk.model.Session
Moonsense.initialize(
context,
"ADD PUBLIC TOKEN HERE .."
)
var session: Session? = Moonsense.startSession(
15,
TimeUnit.SECONDS,
listOf("label1", "label2")
)
session?.stopSession()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment