Jabber Guest iOS SDK
 All Classes Functions Variables Enumerations Enumerator Properties Modules
CJGuestCallBarView.h
1 //
2 // CJGuestCallBarView.h
3 // JabberGuest
4 //
5 // Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
6 //
7 
8 #import <UIKit/UIKit.h>
9 
10 
14 @interface CJGuestCallBarView : UIView
18 typedef NS_OPTIONS(NSInteger, CJGuestCallBarButtonOption) {
39 };
43 typedef NS_ENUM(NSInteger, CJGuestCallBarButtonType) {
59  GuestCallBarButtonHook
60 };
69 - (id)initWithOrigin:(CGPoint)origin;
80 - (id)initWithOrigin:(CGPoint)origin mask:(CJGuestCallBarButtonOption) mask;
81 
82 
86 @property(nonatomic,weak) id /*<CJGuestCallBarViewDelegate>*/ delegate;
90 @property(nonatomic,weak) id /*<CJGuestCallKeypadViewDelegate>*/ keypadDelegate;
94 @property(nonatomic) CJGuestCallBarButtonOption buttonMask;
98 @property (nonatomic, readonly, getter = isKeypadOpen) BOOL keypadOpen;
104 @property(nonatomic,readwrite) BOOL useDefaultKeypad;
111 @property(nonatomic,readwrite) BOOL playKeypadTones;
112 
113 
121 + (NSString*)stringFromGuestCallBarButton:(CJGuestCallBarButtonType) type;
127 +(CGSize)callBarButtonSize;
128 
129 @end
130 
134 @protocol CJGuestCallBarViewDelegate <NSObject>
135 @optional
142 - (void)callBarView:(CJGuestCallBarView *)callBarView
143  clickedButton:(CJGuestCallBarButtonType)buttonType;
149 - (void)callBarViewDidDismissKeypad:(CJGuestCallBarView *)callBarView;
155 - (void)callBarViewDidPresentKeypad:(CJGuestCallBarView *)callBarView;
156 @end
The delegate for CJGuestCallBarViewDelegate.
Definition: CJGuestCallBarView.h:134
Option to show the keypad button on the call bar view.
Definition: CJGuestCallBarView.h:33
Option to show the video mute toggle button on the call bar view.
Definition: CJGuestCallBarView.h:28
CJGuestCallBarButtonOption
Enumeration bitmap describing the button types of the view.
Definition: CJGuestCallBarView.h:18
Defines the button for muting/un-muting video.
Definition: CJGuestCallBarView.h:51
The CJGuestCallBarView custom view.
Definition: CJGuestCallBarView.mm:68
Defines the button for muting/un-muting audio.
Definition: CJGuestCallBarView.h:47
Option to show the audio mute toggle button on the call bar view.
Definition: CJGuestCallBarView.h:23
CJGuestCallBarButtonType
Enumeration describing the button types of the view.
Definition: CJGuestCallBarView.h:43
Defines the button to activate the keypad view.
Definition: CJGuestCallBarView.h:55
Option to show the call/end call button on the call bar view.
Definition: CJGuestCallBarView.h:38