SessionUseCase

class SessionUseCase(sessionSettings: SessionSettings.() -> Unit = {}, events: Events = BlinkRecognitionSdk.events, coroutineScope: CloseableCoroutineScope = CloseableCoroutineScope(SupervisorJob() + Dispatchers.IO))

SessionUseCase

Parameters

events

Constructors

Link copied to clipboard
constructor(sessionSettings: SessionSettings.() -> Unit = {}, events: Events = BlinkRecognitionSdk.events, coroutineScope: CloseableCoroutineScope = CloseableCoroutineScope(SupervisorJob() + Dispatchers.IO))

returns SessionUseCase

Functions

Link copied to clipboard
fun create()

create - creates session

Link copied to clipboard
fun destroy()

destroy - destroy session

Properties

Link copied to clipboard
val session: StateFlow<SessionState>

State flow representing SessionState