DSMEnvelopesManager.h
1 // DSMEnvelopesManager.h
2 // DocuSignSDK
3 #import <Foundation/Foundation.h>
4 #import "DSMSigningMode.h"
5 
6 @class DSMRecipient;
8 
15 
21 - (void)willShowSelectRecipientAmongCurrentRecipients:(NSOrderedSet *)recipients offlineSigningEnvelope:(DSMEnvelopeDefinition *)envelope;
22 
28 - (void)recipient:(DSMRecipient *)recipient willBeginOfflineSigningEnvelope:(DSMEnvelopeDefinition *)envelope;
29 
34 - (void)recipient:(DSMRecipient *)recipient didEndOfflineSigningEnvelope:(DSMEnvelopeDefinition *)envelope;
35 
36 @end
37 
39 
46 - (void)presentEditRecipientsControllerForEnvelopeWithId:(NSString *)envelopeId
47  animated:(BOOL)animated
48  completion:(void(^)(NSError *error))completion;
49 
50 @end
51 
58 
59 @property (nonatomic, weak/*, nullable*/) id <DSMEnvelopesManagerOfflineSigningDelegate> offlineSigningDelegate;
60 
73 - (void)syncEnvelopes;
74 
79 - (void)removeCachedEnvelopeWithId:(NSString *)envelopeId;
80 
86 - (NSArray *)cachedEnvelopes;
87 
92 - (NSArray <NSString *> *)cachedEnvelopeIds;
93 
97 - (void)removeCachedEnvelopes;
98 
110 - (void)presentComposeEnvelopeControllerWithPresentingController:(UIViewController *)presentingController
111  signingMode:(DSMSigningMode)signingMode
112  resumeWithDraft:(BOOL)resumeWithDraft
113  animated:(BOOL)animated
114  completion:(void(^)(UIViewController *viewController))completion;
115 
120 - (BOOL)hasCachedDraftEnvelope;
121 @end
id< DSMEnvelopesManagerOfflineSigningDelegate > offlineSigningDelegate
Definition: DSMEnvelopesManager.h:59
Definition: DSMEnvelopeDefinition.h:4
Definition: DSMEnvelopesManager.h:38
NSArray< NSString * > * cachedEnvelopeIds()
Definition: DSMEnvelopesManager.h:57
Definition: DSMEnvelopesManager.h:14
NSArray * cachedEnvelopes()
Definition: DSMRecipient.h:14