AWSLexVoiceButtonDelegate

Objective-C

@protocol AWSLexVoiceButtonDelegate <NSObject>

@required
/*
 * On error response.
 */
- (void)voiceButton:(AWSLexVoiceButton *)button onError:(NSError *)error;

@optional

/*
 * Response per service call.
 */
- (void)voiceButton:(AWSLexVoiceButton *)button onResponse:(AWSLexVoiceButtonResponse *)response;

/*
 * If the dialog fullfillment is on the client side, this method would be invoked with the filled slots.
 */
- (void)voiceButtononReadyToFullFill:(AWSLexVoiceButton *)button withSlots:(NSDictionary *)slots;

@end

Swift

protocol AWSLexVoiceButtonDelegate : NSObjectProtocol

Undocumented