AWSLexSwitchModeInput

Objective-C

@interface AWSLexSwitchModeInput : NSObject

/**
 Name of the intent being ellicited.
 */
@property (nonatomic, strong, readonly) NSString * _Nullable intent;

/**
 Text response.
 */
@property (nonatomic, strong, readonly) NSString * _Nullable outputText;

/**
 The slots which are currently filled in an ongoing dialog
 */
@property (nonatomic, strong, readonly) NSDictionary * _Nullable slots;

/**
 The slot which is being ellicited for an intent.
 */
@property (nonatomic, strong, readonly) NSString * _Nullable elicitSlot;

/**
 The current dialog state.
 */
@property (nonatomic, assign, readonly) AWSLexDialogState dialogState;

/**
 The session attributes returned from the service.
 */
@property (nonatomic, strong, readonly) NSDictionary * _Nullable sessionAttributes;

/**
 The audio stream . This may be null incase of a text response.
 */
@property (nonatomic, strong, readonly) NSData * _Nullable audioStream;

/**
 The format for the audio stream. This may be null if the audion stream is null.
 */
@property (nonatomic, strong, readonly) NSString * _Nullable audioContentType;

/**
 Transcript of the voice input to the operation.
 */
@property (nonatomic, strong, readonly) NSString * _Nullable inputTranscript;


@end

Swift

class AWSLexSwitchModeInput : NSObject

Undocumented

  • Name of the intent being ellicited.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable intent;

    Swift

    var intent: String? { get }
  • Text response.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable outputText;

    Swift

    var outputText: String? { get }
  • The slots which are currently filled in an ongoing dialog

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDictionary *_Nullable slots;

    Swift

    var slots: [AnyHashable : Any]? { get }
  • The slot which is being ellicited for an intent.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable elicitSlot;

    Swift

    var elicitSlot: String? { get }
  • The current dialog state.

    Declaration

    Objective-C

    @property (nonatomic, readonly) AWSLexDialogState dialogState;

    Swift

    var dialogState: AWSLexDialogState { get }
  • The session attributes returned from the service.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDictionary *_Nullable sessionAttributes;

    Swift

    var sessionAttributes: [AnyHashable : Any]? { get }
  • The audio stream . This may be null incase of a text response.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSData *_Nullable audioStream;

    Swift

    var audioStream: Data? { get }
  • The format for the audio stream. This may be null if the audion stream is null.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable audioContentType;

    Swift

    var audioContentType: String? { get }
  • Transcript of the voice input to the operation.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable inputTranscript;

    Swift

    var inputTranscript: String? { get }