Jabber Guest iOS SDK
 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 
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 
70 - (void)enterBackground;
71 
80 - (void)enterForeground;
81 
87 - (void)terminate;
88 
89 @end
90 
91 
96 
97 @optional
98 
104 - (void)callFinishedForCallController:(CJGuestCallViewController *)callController;
105 
111 - (void)moreButtonPressedForCallController:(CJGuestCallViewController *)callController;
112 
119 - (void) onInvalidCert:(NSString*)certFingerprint
120  certSubjectCN:(NSString*)certSubjectCN
121  referenceID:(NSString*)referenceID
122  invalidReason:(NSArray*)invalidReason
123 subjectCertificateData:(NSString*)subjectCertificateData
124 intermediateCACertificateData:(NSArray*)intermediateCACertificateData
125  invalidCertCallback:(id <CJGuestInvalidCertCallback>)invalidCertCallback;
126 
127 @end