EZRecorderDelegate

@protocol EZRecorderDelegate <NSObject>

The EZRecorderDelegate for the EZRecorder provides a receiver for write events, recorderUpdatedCurrentTime:, and the close event, recorderDidClose:.

  • Triggers when the EZRecorder is explicitly closed with the closeAudioFile method. - parameter: recorder The EZRecorder instance that triggered the action

    Declaration

    Objective-C

    - (void)recorderDidClose:(EZRecorder *)recorder;

    Swift

    optional func recorderDidClose(_ recorder: EZRecorder!)

    Parameters

    recorder

    The EZRecorder instance that triggered the action

  • Triggers after the EZRecorder has successfully written audio data from the appendDataFromBufferList:withBufferSize: method. - parameter: recorder The EZRecorder instance that triggered the action

    Declaration

    Objective-C

    - (void)recorderUpdatedCurrentTime:(EZRecorder *)recorder;

    Swift

    optional func recorderUpdatedCurrentTime(_ recorder: EZRecorder!)

    Parameters

    recorder

    The EZRecorder instance that triggered the action