AWSLexMicrophoneDelegate

Objective-C

@protocol AWSLexMicrophoneDelegate <NSObject>

@optional
/*
 * Send to delegate when the microphone has started recording.
 */
- (void)interactionKitOnRecordingStart:(AWSLexInteractionKit *)interactionKit;

/*
 * Sent to delegate when the microphone recording ends.
 */
- (void)interactionKitOnRecordingEnd:(AWSLexInteractionKit *)interactionKit audioStream:(NSData *)audioStream contentType:(NSString *)contentType;

/*
 * Sent to delegate when the micorphone is ready for recording.
 */
- (void)interactionKitReadyForRecording:(AWSLexInteractionKit *)interactionKit;

/*
 * Sent to delegate when the micorphone audio input sound level changes.
 */
- (void)interactionKit:(AWSLexInteractionKit *)interactionKit onSoundLevelChanged:(double )soundLevel;

@end

Swift

protocol AWSLexMicrophoneDelegate : NSObjectProtocol

Undocumented