stateFlow

fun stateFlow(): StateFlow<BackgroundSdkState>

Provides a StateFlow of the current BackgroundSdkState.

Return

A StateFlow representing the current state of the SDK.

Throws

if the SDK is not configured.