observeCameraPerspective

fun NavManagerService.observeCameraPerspective(activityName: String? = null): Flow<String>

Emits new camera perspective values whenever the camera perspective changes.

Return

Flow that emits camera perspective updates as CameraPerspective.Type strings Event type: EventType.CAMERA_PERSPECTIVE_UPDATED.id

Parameters

activityName

The name of the activity the events of each must be observed. If null, events of the main activity will be observed.