Package 

Interface LocalAudioListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • onAudioRecordingStarted

         abstract Unit onAudioRecordingStarted(Integer audioSource, Integer sampleRate, Integer channels, Integer audioFormat)

        Called when a audio recording is stopped.

        Parameters:
        audioSource - The audio source for the audio recorder.
        sampleRate - Sample rate of the started recording.
        channels - Channels for the started recording.
        audioFormat - Audio format as defined in android.media.AudioFormat (e.g.
      • onAudioRecordingStopped

         abstract Unit onAudioRecordingStopped(Integer audioSource)

        Called when a audio recording is stopped.

        Parameters:
        audioSource - The audio source for the audio recorder.
      • onAudioBuffer

         abstract Unit onAudioBuffer(Integer audioSource, Integer bytesRead, ByteBuffer byteBuffer)

        Called when a new audio buffer is available from the local audio recorder.

        Parameters:
        audioSource - The audio source for the audio recorder.
        bytesRead - number of bytes read into the buffer.
        byteBuffer - buffer with the read bytes.