fun requestCameraPreviewOn()

in azure-communication-ui/calling/src/main/java/com/azure/android/communication/ui/calling/redux/middleware/handler/CallingMiddlewareActionHandler.kt [68:121]


    fun requestCameraPreviewOn(store: Store<ReduxState>)
    fun turnCameraPreviewOn(store: Store<ReduxState>)
    fun requestCameraOn(store: Store<ReduxState>)
    fun turnCameraOn(store: Store<ReduxState>)
    fun turnCameraOff(store: Store<ReduxState>)
    fun switchCamera(store: Store<ReduxState>)
    fun setupCall(store: Store<ReduxState>)
    fun startCall(store: Store<ReduxState>)
    fun turnMicOn(store: Store<ReduxState>)
    fun turnMicOff(store: Store<ReduxState>)
    fun onCameraPermissionIsSet(store: Store<ReduxState>)
    fun callSetupWithSkipSetupScreen(store: Store<ReduxState>)
    fun exit(store: Store<ReduxState>)
    fun dispose()
    fun admitAll(store: Store<ReduxState>)
    fun admit(userIdentifier: String, store: Store<ReduxState>)
    fun reject(userIdentifier: String, store: Store<ReduxState>)
    fun onAudioDeviceChangeRequested(requestedAudioDevice: AudioDeviceSelectionStatus, store: Store<ReduxState>)
    fun onAudioDeviceChangeSucceeded(selectedAudioDevice: AudioDeviceSelectionStatus, store: Store<ReduxState>)
    fun onAudioFocusRequesting(store: Store<ReduxState>)
    fun removeParticipant(userIdentifier: String, store: Store<ReduxState>)
    fun setCapabilities(capabilities: Set<ParticipantCapabilityType>, store: Store<ReduxState>)
    fun onNetworkQualityCallDiagnosticsUpdated(
        model: CallDiagnosticModel<NetworkCallDiagnostic, CallDiagnosticQuality>,
        store: Store<ReduxState>
    )
    fun onNetworkCallDiagnosticsUpdated(
        model: CallDiagnosticModel<NetworkCallDiagnostic, Boolean>,
        store: Store<ReduxState>
    )
    fun onMediaCallDiagnosticsUpdated(
        model: CallDiagnosticModel<MediaCallDiagnostic, Boolean>,
        store: Store<ReduxState>
    )
    fun dismissNotification(store: Store<ReduxState>)
    fun startCaptions(language: String?, store: Store<ReduxState>)
    fun stopCaptions(store: Store<ReduxState>)
    fun setCaptionsSpokenLanguage(language: String, store: Store<ReduxState>)
    fun setCaptionsCaptionLanguage(language: String, store: Store<ReduxState>)
    fun sendRttMessage(message: String, isFinalized: Boolean, store: Store<ReduxState>)
    fun onUpdateAudioStateOperation(
        audioOperationalStatus: AudioOperationalStatus,
        store: Store<ReduxState>
    )
}

internal class CallingMiddlewareActionHandlerImpl(
    private val callingService: CallingService,
    coroutineContextProvider: CoroutineContextProvider,
    private val configuration: CallCompositeConfiguration,
    private val capabilitiesManager: CapabilitiesManager,
    private val localOptions: CallCompositeLocalOptions? = null
) :
    CallingMiddlewareActionHandler {