SCSPrechatPickerOption
@interface SCSPrechatPickerOption : NSObject <NSCopying>
An SCSPrechatPickerOption specifies an option inside a pre-chat picker field
that is displayed before a chat session is initiated.
This object must be added to the options array on an SCSPrechatPickerObject.
-
The label to display inside of the picker to the end user.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *pickerLabel;Swift
var pickerLabel: String! { get } -
The value to show to the agent in the Service Console.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *value;Swift
var value: String! { get }
-
Instantiates an
SCSPrechatPickerOptionobject for use withSCSPrechatPickerObject. This option will be displayed in the pre-chat picker as an option to select.Declaration
Objective-C
- (instancetype)initWithLabel:(NSString *)pickerLabel value:(NSString *)value;Swift
init!(label pickerLabel: String!, value: String!)Parameters
pickerLabelThe label to display inside of the picker to the end user.
valueThe value to show to the agent in the Service Console.
Return Value
The
SCSPrechatPickerOptioninstance. -
Undocumented
Declaration
Objective-C
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
Install in Dash
SCSPrechatPickerOption Class Reference