forked from phonegap/phonegap-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTwitterPlugin.h
More file actions
executable file
·32 lines (21 loc) · 987 Bytes
/
TwitterPlugin.h
File metadata and controls
executable file
·32 lines (21 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// TwitterPlugin.h
// TwitterPlugin
//
// Created by Antonelli Brian on 10/13/11.
//
#import <Foundation/Foundation.h>
#import <Twitter/Twitter.h>
#import <Accounts/Accounts.h>
#import <Cordova/CDVPlugin.h>
@interface TwitterPlugin : CDVPlugin{
}
- (void) isTwitterAvailable:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) isTwitterSetup:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) composeTweet:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) getPublicTimeline:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) getTwitterUsername:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) getMentions:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) getTWRequest:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void) performCallbackOnMainThreadforJS:(NSString*)js;
@end