| Jabber Guest iOS SDK

- Main Page
- Modules
- Classes

All Classes Functions Variables Enumerations Enumerator Properties Groups
CJGuestCallViewController.h
1 //
2 // CJGuestCallViewController.h
3 // JabberGuest
4 //
5 // Copyright (c) 2013 Cisco Systems, Inc. All Rights Reserved.
6 //
7
8 #import <UIKit/UIKit.h>
9 #import <JabberGuest/JabberGuest.h>
10 #import <MessageUI/MessageUI.h>
11
12 @protocol CJGuestCallViewControllerDelegate;
13
14
18 @interface CJGuestCallViewController : UIViewController <CJGuestCallBarViewDelegate, UIActionSheetDelegate>
19
23 @property (nonatomic, readwrite, strong) NSString * serverName;
24
28 @property (nonatomic, readwrite, strong) NSString * toURI;
29
33 @property (weak) id <CJGuestCallViewControllerDelegate> delegate;
34
38 @property (nonatomic, readwrite) NSTimeInterval secondsCallBarHide;
39
43 + (BOOL)hasActiveCall;
44
48 - (void)showCallStatistics;
49
60 - (void)configureFromURL:(NSURL *)url;
61
71 - (void)enterBackground;
72
81 - (void)enterForeground;
82
88 - (void)terminate;
89
90 @end
91
92
96 @protocol CJGuestCallViewControllerDelegate <NSObject>
97
98 @optional
99
105 - (void)callFinishedForCallController:(CJGuestCallViewController *)callController;
106
112 - (void)moreButtonPressedForCallController:(CJGuestCallViewController *)callController;
113
120 - (void) onInvalidCert:(NSString*)certFingerprint
121 certSubjectCN:(NSString*)certSubjectCN
122 referenceID:(NSString*)referenceID
123 invalidReason:(NSArray*)invalidReason
124 subjectCertificateData:(NSString*)subjectCertificateData
125 intermediateCACertificateData:(NSArray*)intermediateCACertificateData
126 invalidCertCallback:(id <CJGuestInvalidCertCallback>)invalidCertCallback;
127
128 @end