|
AgoraChatSDK 1.3.1
|
#import <AgoraChatLocalNotificationManager.h>
Instance Methods | |
| ((unavailable("call sharedManager instead") | - __attribute__ |
| ((unavailable("call sharedManager instead") | - __attribute__ |
| (void) | - launchWithDelegate: |
| (void) | - userNotificationCenter:willPresentNotification:withCompletionHandler: |
| (void) | - userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler: |
Class Methods | |
| ((unavailable("call sharedManager instead") | + __attribute__ |
| ((unavailable("call sharedManager instead") | + __attribute__ |
| (instancetype _Nonnull) | + sharedManager |
A class that manages the chat message notification.
| + ((unavailable("call sharedManager instead") __attribute__ |
Allocs.
| + ((unavailable("call sharedManager instead") __attribute__ |
Create an instance.
| - ((unavailable("call sharedManager instead") __attribute__ |
Copy an instance.
| - ((unavailable("call sharedManager instead") __attribute__ |
Copy and generate a new instance.
| - (void) launchWithDelegate: | (id< AgoraChatLocalNotificationDelegate >) | aDelegate |
Enables the chat message notification service.
Once you enable this service, the new message is reported in the notification bar so that users can read them in time.
| + (instancetype _Nonnull) sharedManager |
Create an instance.
| - (void) userNotificationCenter: | (UNUserNotificationCenter *) | center | |
| didReceiveNotificationResponse: | (UNNotificationResponse *) | response | |
| withCompletionHandler: | (void(^)(void)) | completionHandler | |
When the system receives a push notification, the callback method is triggered when the notification bar is clicked. User should call this method in the implementation of UNUserNotificationCenterDelegate if they have override UNUserNotificationCenterDelegate in-app.
| - (void) userNotificationCenter: | (UNUserNotificationCenter *) | center | |
| willPresentNotification: | (UNNotification *) | notification | |
| withCompletionHandler: | (void(^)(UNNotificationPresentationOptions options)) | completionHandler | |
User should call this method in the implementation of UNUserNotificationCenterDelegate if they have override UNUserNotificationCenterDelegate in-app. If you don't want the SDK to execute the callback, don't pass the completionHandler