Jabber Guest iOS SDK
 All Classes Functions Variables Enumerations Enumerator Properties Groups
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