ShengwangChatSDK 1.3.2
构造函数 | 所有成员列表
<AgoraChatLocalNotificationDelegate>协议 参考

#import <AgoraChatLocalNotificationManager.h>

类 <AgoraChatLocalNotificationDelegate> 继承关系图:

构造函数

(void) - emuserNotificationCenter:willPresentNotification:withCompletionHandler:
 
(void) - emuserNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:
 
(void) - emuserNotificationCenter:openSettingsForNotification:
 
(void) - emGetNotificationMessage:state:
 
(void) - emHandleNotificationContent:
 
(void) - emDidRecivePushSilentMessage:
 

详细描述

The callbacks of chat message notification.

函数文档

◆ emDidRecivePushSilentMessage:

- (void) emDidRecivePushSilentMessage: (NSDictionary *)  messageDic
optional

This method is called when the application received easemob push silent message

◆ emGetNotificationMessage:state:

- (void) emGetNotificationMessage: (UNNotification *)  notification
state: (AgoraChatNotificationState)  state 
optional

Getting push messages can be implemented only with this delegate method to uniformly get notification messages

◆ emHandleNotificationContent:

- (void) emHandleNotificationContent: (UNMutableNotificationContent *)  content
optional

Triggered before the notification pops up. You can modify the UNMutableNotificationContent property in the callback.

◆ emuserNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:

- (void) emuserNotificationCenter: (UNUserNotificationCenter *)  center
didReceiveNotificationResponse: (UNNotificationResponse *)  response
withCompletionHandler: (void(^)(void))  completionHandler 
optional

This method will be called when user open application notification. CompletionHandler must be called back

◆ emuserNotificationCenter:openSettingsForNotification:

- (void) emuserNotificationCenter: (UNUserNotificationCenter *)  center
openSettingsForNotification: (UNNotification *)  notification 
optional

The method will be called on the delegate when the application is launched in response to the user's request to view in-app notification settings

◆ emuserNotificationCenter:willPresentNotification:withCompletionHandler:

- (void) emuserNotificationCenter: (UNUserNotificationCenter *)  center
willPresentNotification: (UNNotification *)  notification
withCompletionHandler: (void(^)(UNNotificationPresentationOptions options))  completionHandler 
optional

This method will be called when application receives notification in the foreground. By completionHandle (UNNotificationPresentationOptions options) callback display style, must be the callback.


该协议的文档由以下文件生成: