Jabber Guest iOS SDK
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;
117 @property(nonatomic, readwrite) BOOL confirmBeforeHangupDuringScreenShare;
118 
119 
127 + (NSString*)stringFromGuestCallBarButton:(CJGuestCallBarButtonType) type;
133 +(CGSize)callBarButtonSize;
134 
135 @end
136 
140 @protocol CJGuestCallBarViewDelegate <NSObject>
141 @optional
148 - (void)callBarView:(CJGuestCallBarView *)callBarView
149  clickedButton:(CJGuestCallBarButtonType)buttonType;
155 - (void)callBarViewDidDismissKeypad:(CJGuestCallBarView *)callBarView;
161 - (void)callBarViewDidPresentKeypad:(CJGuestCallBarView *)callBarView;
162 @end
The delegate for CJGuestCallBarViewDelegate.
Definition: CJGuestCallBarView.h:140
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:83
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