io.agora.rtc

## Class AgoraRecordDevice

- java.lang.Object
- - io.agora.rtc.AgoraRecordDevice

-     public class AgoraRecordDevice
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private IAudioFrameObserver` | `_AudioFrameObserver`
    `private long` | `cptr`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgoraRecordDevice(long cptr)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `audioDeviceInitRecording()`
    `void` | `destroy()`
    `private void` | `ndestroy()`
    `int` | `registerAudioFrameObserver(IAudioFrameObserver observer)`
    `int` | `startRecording()`
    `int` | `stopRecording()`
    `int` | `unregisterAudioFrameObserver(IAudioFrameObserver observer)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### cptr

          private long cptr

    - #### _AudioFrameObserver

          private IAudioFrameObserver _AudioFrameObserver

  - ### Constructor Detail

    - #### AgoraRecordDevice

          public AgoraRecordDevice(long cptr)

  - ### Method Detail

    - #### audioDeviceInitRecording

          public int audioDeviceInitRecording()

    - #### startRecording

          public int startRecording()

    - #### stopRecording

          public int stopRecording()

    - #### registerAudioFrameObserver

          public int registerAudioFrameObserver(IAudioFrameObserver observer)

    - #### unregisterAudioFrameObserver

          public int unregisterAudioFrameObserver(IAudioFrameObserver observer)

    - #### ndestroy

          private void ndestroy()

    - #### destroy

          public void destroy()