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
closeAudioFilemethod. - parameter: recorder The EZRecorder instance that triggered the actionDeclaration
Objective-C
- (void)recorderDidClose:(EZRecorder *)recorder;Swift
optional func recorderDidClose(_ recorder: EZRecorder!)Parameters
recorderThe 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 actionDeclaration
Objective-C
- (void)recorderUpdatedCurrentTime:(EZRecorder *)recorder;Swift
optional func recorderUpdatedCurrentTime(_ recorder: EZRecorder!)Parameters
recorderThe EZRecorder instance that triggered the action
View on GitHub
EZRecorderDelegate Protocol Reference