Jabber Guest iOS SDK

- Main Page
- Modules
- Classes

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 70.0
11 #define CJGuestCallBarButtonHeight 58.0
12
16 @interface CJGuestCallBarView : UIView
20 typedef NS_OPTIONS(NSInteger, CJGuestCallBarButtonOption) {
25 GuestCallBarButtonOptionAudioMute = 1 << 0,
30 GuestCallBarButtonOptionVideoMute = 1 << 1,
35 GuestCallBarButtonOptionKeypad = 1 << 2,
40 GuestCallBarButtonOptionHook = 1 << 3
41 };
45 typedef NS_ENUM(NSInteger, CJGuestCallBarButtonType) {
49 GuestCallBarButtonAudioMute,
53 GuestCallBarButtonVideoMute,
57 GuestCallBarButtonKeypad,
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 clickedButton:(CJGuestCallBarButtonType)buttonType;
139 - (void)callBarViewDidDismissKeypad:(CJGuestCallBarView *)callBarView;
145 - (void)callBarViewDidPresentKeypad:(CJGuestCallBarView *)callBarView;
146 @end