// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
// // Called when the user discards a scene session.
// // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
JPAuthorizationOptionNone=0,// the application may not present any UI upon a notification being received
JPAuthorizationOptionBadge=(1<<0),// the application may badge its icon upon a notification being received
JPAuthorizationOptionSound=(1<<1),// the application may play a sound upon a notification being received
JPAuthorizationOptionAlert=(1<<2),// the application may display an alert upon a notification being received
JPAuthorizationOptionCarPlay=(1<<3),// The ability to display notifications in a CarPlay environment.
JPAuthorizationOptionCriticalAlertNS_AVAILABLE_IOS(12.0)=(1<<4),//The ability to play sounds for critical alerts.
JPAuthorizationOptionProvidesAppNotificationSettingsNS_AVAILABLE_IOS(12.0)=(1<<5),//An option indicating the system should display a button for in-app notification settings.
JPAuthorizationOptionProvisionalNS_AVAILABLE_IOS(12.0)=(1<<6),//The ability to post noninterrupting notifications provisionally to the Notification Center.
JPAuthorizationOptionAnnouncementNS_AVAILABLE_IOS(13.0)=(1<<7),//The ability for Siri to automatically read out messages over AirPods.
};
typedefNS_ENUM(NSUInteger,JPAuthorizationStatus){
JPAuthorizationNotDetermined=0,// The user has not yet made a choice regarding whether the application may post user notifications.
JPAuthorizationStatusDenied,// The application is not authorized to post user notifications.
JPAuthorizationStatusAuthorized,// The application is authorized to post user notifications.
JPAuthorizationStatusProvisionalNS_AVAILABLE_IOS(12.0),// The application is authorized to post non-interruptive user notifications.
@property(nonatomic,copy)NSString*targetContentIdentifierNS_AVAILABLE_IOS(13.0);// An identifier for the content of the notification used by the system to customize the scene to be activated when tapping on a notification.