current Session
This is the current running session. You need to set and unset it manually.
TeamViewerSdk.Builder(context)
.withSessionCallback(object: SessionCallback {
override fun onSessionStarted(session: TeamViewerSession?) {
if (session is AssistARSession) {
AssistARSessionUI.currentSession = session
}
}
override fun onSessionEnded() {
AssistARSessionUI.currentSession = null
}
})
Content copied to clipboard