AWSLexVoiceButton
Objective-C
@interface AWSLexVoiceButton : UIView
@property (nonatomic, weak) id<AWSLexVoiceButtonDelegate> delegate;
/**
Enable push transition animation when image switch between microphone and listen image. Default is NO.
*/
@property (nonatomic) BOOL animateOnImageSwitching;
/**
Set color for microphone image. Default is nil.
*/
@property (nonatomic, strong) UIColor *microphoneImageColor;
/**
Set color for inactive microphone image. Default is light grey.
*/
@property (nonatomic, strong) UIColor *lexImageColor;
@property (nonatomic, strong) UIColor *errorColor;
@end
Swift
class AWSLexVoiceButton : UIView
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) id<AWSLexVoiceButtonDelegate> delegate
Swift
weak var delegate: AWSLexVoiceButtonDelegate? { get set }
-
Enable push transition animation when image switch between microphone and listen image. Default is NO.
Declaration
Objective-C
@property (nonatomic) BOOL animateOnImageSwitching;
Swift
var animateOnImageSwitching: Bool { get set }
-
Set color for microphone image. Default is nil.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull microphoneImageColor;
Swift
var microphoneImageColor: UIColor { get set }
-
Set color for inactive microphone image. Default is light grey.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull lexImageColor;
Swift
var lexImageColor: UIColor { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) UIColor *errorColor
Swift
var errorColor: UIColor { get set }