mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-11 08:13:28 +08:00
23 lines
739 B
Objective-C
23 lines
739 B
Objective-C
#import <React/RCTConvert.h>
|
|
@import UserNotifications;
|
|
|
|
@interface RCTConvert (UIMutableUserNotificationAction)
|
|
+ (UIMutableUserNotificationAction *)UIMutableUserNotificationAction:(id)json;
|
|
@end
|
|
|
|
@interface RCTConvert (UNMutableUserNotificationCategory)
|
|
+ (UNNotificationCategory *)UNMutableUserNotificationCategory:(id)json;
|
|
@end
|
|
|
|
@interface RCTConvert (UNNotificationRequest)
|
|
+ (UNNotificationRequest *)UNNotificationRequest:(id)json withId:(NSNumber*)notificationId;
|
|
@end
|
|
|
|
@interface RCTConvert (UNNotification)
|
|
+ (NSDictionary *)UNNotificationPayload:(UNNotification *)notification;
|
|
@end
|
|
|
|
@interface RCTConvert (UNNotificationPresentationOptions)
|
|
+ (UNNotificationPresentationOptions)UNNotificationPresentationOptions:(id)json;
|
|
@end
|