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 #define CJGuestCallBarButtonWidth 60.0
11 #define CJGuestCallBarButtonHeight 45.0
12 
16 @interface CJGuestCallBarView : UIView
20 typedef NS_OPTIONS(NSInteger, CJGuestCallBarButtonOption) {
41 };
45 typedef NS_ENUM(NSInteger, CJGuestCallBarButtonType) {
61  GuestCallBarButtonHook
62 };
71 - (id)initWithOrigin:(CGPoint)origin;
82 - (id)initWithOrigin:(CGPoint)origin mask:(CJGuestCallBarButtonOption) mask;
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;
119 + (NSString*)stringFromGuestCallBarButton:(CJGuestCallBarButtonType) type;
120 @end
121 
125 @protocol CJGuestCallBarViewDelegate <NSObject>
126 @optional
133 - (void)callBarView:(CJGuestCallBarView *)callBarView
134  clickedButton:(CJGuestCallBarButtonType)buttonType;
140 - (void)callBarViewDidDismissKeypad:(CJGuestCallBarView *)callBarView;
146 - (void)callBarViewDidPresentKeypad:(CJGuestCallBarView *)callBarView;
147 @end