Package-level declarations
Functions
Link copied to clipboard
fun CameraInfo.collectStateWithLifecycle(lifecycle: Lifecycle, minActiveState: Lifecycle.State = Lifecycle.State.STARTED, context: CoroutineContext = EmptyCoroutineContext): State<CameraInfoState>
Collects CameraInfo.state as Compose State, scoped to the provided Lifecycle.
fun CameraInfo.collectStateWithLifecycle(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current, minActiveState: Lifecycle.State = Lifecycle.State.STARTED, context: CoroutineContext = EmptyCoroutineContext): State<CameraInfoState>
Collects CameraInfo.state as Compose State, scoped to the provided LifecycleOwner.