AgoraChatSDK 1.2.0
Instance Methods | List of all members
<AgoraChatLocalNotificationDelegate> Protocol Reference

#import <AgoraChatLocalNotificationManager.h>

Inheritance diagram for <AgoraChatLocalNotificationDelegate>:

Instance Methods

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

Detailed Description

The callbacks of chat message notification.

Method Documentation

◆ 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

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


The documentation for this protocol was generated from the following file: