ShengwangChatSDK 1.3.2
构造函数 | 类方法 | 所有成员列表
AgoraChatLocalNotificationManager类 参考

#import <AgoraChatLocalNotificationManager.h>

类 AgoraChatLocalNotificationManager 继承关系图:

构造函数

((unavailable("call sharedManager instead") - __attribute__
 
((unavailable("call sharedManager instead") - __attribute__
 
(void) - launchWithDelegate:
 
(void) - userNotificationCenter:willPresentNotification:withCompletionHandler:
 
(void) - userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:
 

类方法

((unavailable("call sharedManager instead") + __attribute__
 
((unavailable("call sharedManager instead") + __attribute__
 
(instancetype _Nonnull) + sharedManager
 

详细描述

A class that manages the chat message notification.

函数文档

◆ __attribute__ [1/4]

+ ((unavailable("call sharedManager instead") __attribute__

Allocs.

◆ __attribute__ [2/4]

+ ((unavailable("call sharedManager instead") __attribute__

Create an instance.

◆ __attribute__ [3/4]

- ((unavailable("call sharedManager instead") __attribute__

Copy an instance.

◆ __attribute__ [4/4]

- ((unavailable("call sharedManager instead") __attribute__

Copy and generate a new instance.

◆ launchWithDelegate:

- (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.

◆ sharedManager

+ (instancetype _Nonnull) sharedManager

Create an instance.

◆ userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:

- (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.

◆ userNotificationCenter:willPresentNotification:withCompletionHandler:

- (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


该类的文档由以下文件生成: