Jabber Guest iOS SDK
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 
45 @property(nonatomic, readwrite) BOOL confirmBeforeHangupDuringScreenShare;
46 
50 + (BOOL)hasActiveCall;
51 
55 - (void)showCallStatistics;
56 
67 - (void)configureFromURL:(NSURL *)url;
68 
77 - (void)enterBackground;
78 
87 - (void)enterForeground;
88 
94 - (void)terminate;
95 
96 @end
97 
98 
103 
104 @optional
105 
111 - (void)callFinishedForCallController:(CJGuestCallViewController *)callController;
112 
118 - (void)moreButtonPressedForCallController:(CJGuestCallViewController *)callController;
119 
126 - (void) onInvalidCert:(NSString*)certFingerprint
127  certSubjectCN:(NSString*)certSubjectCN
128  referenceID:(NSString*)referenceID
129  invalidReason:(NSArray*)invalidReason
130 subjectCertificateData:(NSString*)subjectCertificateData
131 intermediateCACertificateData:(NSArray*)intermediateCACertificateData
132  invalidCertCallback:(id <CJGuestInvalidCertCallback>)invalidCertCallback;
133 
134 @end
id< CJGuestCallViewControllerDelegate > delegate
The delegate that implements the CJGuestCallViewControllerDelegate protocol.
Definition: CJGuestCallViewController.h:33
BOOL confirmBeforeHangupDuringScreenShare
Controls whether the pressing End Call during screen share requires confirmation. ...
Definition: CJGuestCallViewController.h:45
void terminate()
Handles terminating an active call when your app terminates.
Definition: CJGuestCallViewController.mm:1146
The delegate for CJGuestCallBarViewDelegate.
Definition: CJGuestCallBarView.h:140
JabberGuest/JabberGuestSDK/JabberGuestSDKLib The high-level Jabber Guest controller object...
Definition: CJGuestCallViewController.mm:122
NSTimeInterval secondsCallBarHide
The number of seconds to keep the call bar visible after it is made visible.
Definition: CJGuestCallViewController.h:38
BOOL hasActiveCall()
Returns YES if the call state is connected, connecting, or disconnecting.
Definition: CJGuestCallViewController.mm:1121
An object implementing this protocol is passed to the CJGuestInvalidCertDelegate. ...
Definition: CJGuestCall.h:19
NSString * toURI
The URI to call.
Definition: CJGuestCallViewController.h:28
void enterForeground()
Handles all the details of having an active call go to the foreground.
Definition: CJGuestCallViewController.mm:1142
void showCallStatistics()
displays a tranparent window showing call statistics for an active call
Definition: CJGuestCallViewController.mm:1941
void enterBackground()
Handles all the details of having an active call go to the background.
Definition: CJGuestCallViewController.mm:1138
NSString * serverName
The Jabber Guest server name.
Definition: CJGuestCallViewController.h:23
The delegate for CJGuestCallViewController.
Definition: CJGuestCallViewController.h:102