Jabber Guest iOS SDK

- Main Page
- Modules
- Classes

All Classes Functions Variables Enumerations Enumerator Properties Groups
CJGuestCallKeypadView.h
1 //
2 // CJGuestCallKeypadView.h
3 // JabberGuest
4 //
5 // Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
6 //
7
8 #import <UIKit/UIKit.h>
9
17 typedef NS_ENUM(NSInteger, CJGuestCallKeypadButtonType) {
21 GuestCallKeypadButtonOne,
25 GuestCallKeypadButtonTwo,
29 GuestCallKeypadButtonThree,
33 GuestCallKeypadButtonFour,
37 GuestCallKeypadButtonFive,
41 GuestCallKeypadButtonSix,
45 GuestCallKeypadButtonSeven,
49 GuestCallKeypadButtonEight,
53 GuestCallKeypadButtonNine,
57 GuestCallKeypadButtonStar,
61 GuestCallKeypadButtonZero,
65 GuestCallKeypadButtonPound
66 };
74 @interface CJGuestCallKeypadView : UIView
83 - (id)initWithOrigin:(CGPoint)origin;
84 @property(nonatomic,weak) id /*<CJGuestCallKeypadViewDelegate>*/ delegate;
91 @property(nonatomic,readwrite) BOOL playKeypadTones;
96 - (CGSize)getKeypadSize;
104 + (NSString*)stringFromGuestKeypadButton:(CJGuestCallKeypadButtonType) type;
105 @end
106
110 @protocol CJGuestCallKeypadViewDelegate<NSObject>
118 - (void)keypadView:(CJGuestCallKeypadView *)keypadView clickedButtonAtIndex:(NSInteger)buttonIndex;
119 @end