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
-
Undocumented
Declaration
Objective-C
- (void)voiceButton:(AWSLexVoiceButton *)button onError:(NSError *)error;
Swift
func voiceButton(_ button: AWSLexVoiceButton, onError error: Error)
-
Undocumented
Declaration
Objective-C
- (void)voiceButton:(AWSLexVoiceButton *)button onResponse:(AWSLexVoiceButtonResponse *)response;
Swift
optional func voiceButton(_ button: AWSLexVoiceButton, on response: AWSLexVoiceButtonResponse)
-
Undocumented
Declaration
Objective-C
- (void)voiceButtononReadyToFullFill:(AWSLexVoiceButton *)button withSlots:(NSDictionary *)slots;
Swift
optional func voiceButtononReady(toFullFill button: AWSLexVoiceButton, withSlots slots: [AnyHashable : Any])