openEventsPlatformApp/plugins/cordova-plugin-x-socialsharing/src/ios/SocialSharing.h
plugins/cordova-plugin-x-socialsharing/src/ios/SocialSharing.hRaw
1#import <Cordova/CDV.h>
2#import <MessageUI/MFMailComposeViewController.h>
3
4@interface SocialSharing : CDVPlugin <UIPopoverControllerDelegate, MFMailComposeViewControllerDelegate, UIDocumentInteractionControllerDelegate>
5
6@property (nonatomic, strong) MFMailComposeViewController *globalMailComposer;
7@property (nonatomic, strong) UIDocumentInteractionController * documentInteractionController;
8@property (retain) NSString * tempStoredFile;
9@property (retain) CDVInvokedUrlCommand * command;
10
11- (void)available:(CDVInvokedUrlCommand*)command;
12- (void)setIPadPopupCoordinates:(CDVInvokedUrlCommand*)command;
13- (void)share:(CDVInvokedUrlCommand*)command;
14- (void)shareWithOptions:(CDVInvokedUrlCommand*)command;
15- (void)canShareVia:(CDVInvokedUrlCommand*)command;
16- (void)canShareViaEmail:(CDVInvokedUrlCommand*)command;
17- (void)shareVia:(CDVInvokedUrlCommand*)command;
18- (void)shareViaTwitter:(CDVInvokedUrlCommand*)command;
19- (void)shareViaFacebook:(CDVInvokedUrlCommand*)command;
20- (void)shareViaFacebookWithPasteMessageHint:(CDVInvokedUrlCommand*)command;
21- (void)shareViaWhatsApp:(CDVInvokedUrlCommand*)command;
22- (void)shareViaSMS:(CDVInvokedUrlCommand*)command;
23- (void)shareViaEmail:(CDVInvokedUrlCommand*)command;
24- (void)shareViaInstagram:(CDVInvokedUrlCommand*)command;
25
26- (void)saveToPhotoAlbum:(CDVInvokedUrlCommand*)command;
27
28@end