@fishjam-cloud/react-native-client - v0.19.0
    Preparing search index...

    Function useMicrophone

    • This hook can toggle microphone on/off and provides current microphone state.

      Returns { isMicrophoneOn: boolean; toggleMicrophone: () => Promise<void> }

      • isMicrophoneOn: boolean

        Informs if microphone is streaming audio

      • toggleMicrophone: () => Promise<void>

        Function to toggle microphone on/off