-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathCountlyFeedbacks.h
More file actions
30 lines (24 loc) · 959 Bytes
/
CountlyFeedbacks.h
File metadata and controls
30 lines (24 loc) · 959 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
// CountlyFeedbacks.h
//
// This code is provided under the MIT License.
//
// Please visit www.count.ly for more information.
//
#import <Foundation/Foundation.h>
#import "CountlyConfig.h"
#import "CountlyFeedbackWidget.h"
@interface CountlyFeedbacks: NSObject
#if (TARGET_OS_IOS)
+ (instancetype)sharedInstance;
- (void) presentNPS;
- (void) presentNPS:(NSString *)nameIDorTag;
- (void) presentNPS:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback;
- (void) presentSurvey;
- (void) presentSurvey:(NSString *)nameIDorTag;
- (void) presentSurvey:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback;
- (void) presentRating;
- (void) presentRating:(NSString *)nameIDorTag;
- (void) presentRating:(NSString *)nameIDorTag widgetCallback:(WidgetCallback) widgetCallback;
- (void)getAvailableFeedbackWidgets:(void (^)(NSArray <CountlyFeedbackWidget *> *feedbackWidgets, NSError * error))completionHandler;
#endif
@end