Bold360 and BoldChat Developer Center

BoldChatViewSettings.h

Go to the documentation of this file.
1 //
2 // Copyright (c) 2014 LogMeIn Inc. All rights reserved.
3 //
4 
5 #import <Foundation/Foundation.h>
6 #import "BoldChatChatViewEventHandler.h"
7 
13 typedef NS_ENUM(NSInteger, BoldChatViewSettingsFormSubmitStyle) {
14  BoldChatViewSettingsFormSubmitStyleRightNavigationButton,
15  BoldChatViewSettingsFormSubmitStyleLastCell
16 };
17 
22 typedef NS_ENUM(NSInteger, BoldChatViewSettingsEndChatStyle) {
23  BoldChatViewSettingsEndChatStyleRightNavigationButton,
24  BoldChatViewSettingsEndChatStyleOnChatView
25 };
26 
31 typedef NS_ENUM(NSInteger, BoldChatViewSettingsFormCellRequiredStyle) {
32  BoldChatViewSettingsFormCellRequiredStyleOnTitleLabel,
33  BoldChatViewSettingsFormCellRequiredStyleSeparateLabel,
34 };
35 
36 
41 typedef NS_ENUM(NSInteger, BoldChatViewSettingsSelectionCellStyle) {
42  BoldChatViewSettingsSelectionCellStyleTitleAndValueAlwaysVisible,
43  BoldChatViewSettingsSelectionCellStyleValueVisibleIfSetOrOpen,
44  BoldChatViewSettingsSelectionCellStyleTitleVisibleIfNotSetOrOpen
45 };
46 
47 
52 @interface BoldChatViewSettings : NSObject
53 
58 @property(nonatomic, assign)BOOL hidesBackButtonWhileActive;
59 
64 @property(nonatomic, assign)BoldChatViewSettingsFormSubmitStyle formSubmitStyle;
65 
70 @property(nonatomic, assign)BoldChatViewSettingsFormCellRequiredStyle formCellRequiredStyle;
71 
76 @property(nonatomic, assign)BoldChatViewSettingsEndChatStyle endChatStyle;
77 
82 @property(nonatomic, copy)NSString *mainViewXibName;
83 
88 @property(nonatomic, copy)NSString *formViewXibName;
89 
94 @property(nonatomic, copy)NSString *singleLineCellXibName;
95 
100 @property(nonatomic, assign)BOOL hideSingleLineTitleOnTyping;
101 
106 @property(nonatomic, copy)NSString *singleLineEmailCellXibName;
107 
112 @property(nonatomic, copy)NSString *singleLinePhoneCellXibName;
113 
118 @property(nonatomic, copy)NSString *multiLineCellXibName;
119 
124 @property(nonatomic, assign)BOOL hideMultiLineLineTitleOnTyping;
125 
130 @property(nonatomic, copy)NSString *pickerCellXibName;
131 
136 @property(nonatomic, copy)NSString *horizontalPickerCellXibName;
137 
138 
143 @property(nonatomic, copy)NSString *ratingCellXibName;
144 
149 @property(nonatomic, assign)BoldChatViewSettingsSelectionCellStyle selectionCellStyle;
150 
155 @property(nonatomic, copy)NSString *selectionCellXibName;
156 
161 @property(nonatomic, copy)NSString *buttonCellXibName;
162 
167 @property(nonatomic, copy)NSString *preChatHeaderXibName;
168 
173 @property(nonatomic, copy)NSString *postChatHeaderXibName;
174 
179 @property(nonatomic, copy)NSString *postChatEmailFooterXibName;
180 
185 @property(nonatomic, copy)NSString *unavailableChatHeaderXibName;
186 
191 @property(nonatomic, copy)NSString *chatViewXibName;
192 
197 @property(nonatomic, copy)NSString *chatHistoryHtmlName;
198 
204 @end
NSString * pickerCellXibName
The selection picker cell layout xib.
Definition: BoldChatViewSettings.h:130
BoldChatViewSettingsEndChatStyle endChatStyle
The chat screen's End Chat button placing style.
Definition: BoldChatViewSettings.h:76
NSString * singleLineCellXibName
The single line input cell layout xib.
Definition: BoldChatViewSettings.h:94
BoldChatViewSettingsFormSubmitStyle formSubmitStyle
The form submission button style. Default is BoldChatViewSettingsFormSubmitStyleRightNavigationButton...
Definition: BoldChatViewSettings.h:64
NSString * singleLineEmailCellXibName
The single line input cell for email enter layout xib.
Definition: BoldChatViewSettings.h:106
NSString * chatHistoryHtmlName
The name of the html that shows the email history.
Definition: BoldChatViewSettings.h:197
NSString * formViewXibName
The name of the xib file, that pre post and unavailable chat forms are initiated. ...
Definition: BoldChatViewSettings.h:88
NSString * preChatHeaderXibName
The pre-chat form header layout xib.
Definition: BoldChatViewSettings.h:167
NSString * buttonCellXibName
The button cell layout xib. This represents a button for submission of a form.
Definition: BoldChatViewSettings.h:161
BOOL hideMultiLineLineTitleOnTyping
If YES, the title and required labels are hidden on the selection cell if the text in the text view i...
Definition: BoldChatViewSettings.h:124
NSString * postChatEmailFooterXibName
The post-chat form footer under the email cell layout xib.
Definition: BoldChatViewSettings.h:179
NSString * horizontalPickerCellXibName
The horizontal picker cell layout xib.
Definition: BoldChatViewSettings.h:136
BoldChat view related settings.
Definition: BoldChatViewSettings.h:52
BoldChatViewSettingsSelectionCellStyle selectionCellStyle
The selection cell style.
Definition: BoldChatViewSettings.h:149
NSString * unavailableChatHeaderXibName
The unavailable chat form header layout xib.
Definition: BoldChatViewSettings.h:185
BoldChatChatViewEventHandler * chatViewEventHandler
The delegate that handles the dynamic behavior of the chat view.
Definition: BoldChatViewSettings.h:203
NSString * postChatHeaderXibName
The post-chat form header layout xib.
Definition: BoldChatViewSettings.h:173
BoldChatViewSettingsFormCellRequiredStyle formCellRequiredStyle
Displaying required state of cells style. Default is BoldChatViewSettingsFormCellRequiredStyleOnTitle...
Definition: BoldChatViewSettings.h:70
NSString * ratingCellXibName
The rating line cell layout xib.
Definition: BoldChatViewSettings.h:143
BOOL hideSingleLineTitleOnTyping
If YES, the title and required labels are hidden if the text in the text field is not empty...
Definition: BoldChatViewSettings.h:100
NSString * multiLineCellXibName
The multi line input cell layout xib.
Definition: BoldChatViewSettings.h:118
NSString * selectionCellXibName
The selection cell layout xib. This shows the result of a picker.
Definition: BoldChatViewSettings.h:155
BOOL hidesBackButtonWhileActive
If YES the back or left navigation button is only shown when there is an error, or at the chat end...
Definition: BoldChatViewSettings.h:58
NSString * mainViewXibName
The name of the main xib file, that BoldChatViewController is initiated.
Definition: BoldChatViewSettings.h:82
typedef NS_ENUM(NSInteger, BoldChatViewSettingsFormSubmitStyle)
Placing submission button of forms.
Definition: BoldChatViewSettings.h:13
The default event handler for BoldChat chat logic. This class is responsible for the animations and l...
Definition: BoldChatChatViewEventHandler.h:12
NSString * chatViewXibName
The chat view layout xib.
Definition: BoldChatViewSettings.h:191
NSString * singleLinePhoneCellXibName
The single line input cell for phone number enter layout xib.
Definition: BoldChatViewSettings.h:112