SCSPrechatPickerOption Class Reference
Inherits from | NSObject |
---|---|
Declared in | SCSPrechatPickerOption.h |
Overview
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
.
Properties
pickerLabel
The label to display inside of the picker to the end user.
@property (nonatomic, strong, readonly) NSString *pickerLabel
Declared In
SCSPrechatPickerOption.h
value
The value to show to the agent in the Service Console.
@property (nonatomic, strong, readonly) NSString *value
Declared In
SCSPrechatPickerOption.h
Initialization
– initWithLabel:value:
Instantiates an SCSPrechatPickerOption
object for use with SCSPrechatPickerObject
.
This option will be displayed in the pre-chat picker as an option to select.
- (instancetype)initWithLabel:(NSString *)pickerLabel value:(NSString *)value
Parameters
pickerLabel |
The label to display inside of the picker to the end user. |
---|---|
value |
The value to show to the agent in the Service Console. |
Return Value
The SCSPrechatPickerOption
instance.
Declared In
SCSPrechatPickerOption.h