NIMSDK-iOS
载入中...
搜索中...
未找到
V2NIMNotificationPushConfig.h
浏览该文件的文档.
1//
2// V2NIMNotificationPushConfig.h
3// NIMSDK
4//
5// Created by 齐洪茹 on 2023/8/30.
6// Copyright © 2023 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13/// 通知推送相关配置
14@interface V2NIMNotificationPushConfig : NSObject
15/// 是否需要推送通知。true:需要, false:不需要
16@property(nonatomic,assign,readwrite) BOOL pushEnabled;
17/// 是否需要推送通知发送者昵称。true:需要, false:不需要
18@property(nonatomic,assign,readwrite) BOOL pushNickEnabled;
19/// 推送文案
20@property(nonatomic,strong,readwrite) NSString *pushContent;
21/// 推送数据
22@property(nonatomic,strong,readwrite) NSString *pushPayload;
23/// 忽略用户通知提醒相关设置,只通知类型有效
24@property(nonatomic,assign,readwrite) BOOL forcePush;
25/// 强制推送文案,只通知类型有效
26@property(nonatomic,strong,readwrite) NSString *forcePushContent;
27/// 强制推送目标账号列表,只通知类型有效
28@property(nonatomic,strong,readwrite) NSArray *forcePushAccountIds;
29
30@end
31
32NS_ASSUME_NONNULL_END
通知推送相关配置
Definition: V2NIMNotificationPushConfig.h:15
BOOL forcePush
忽略用户通知提醒相关设置,只通知类型有效
Definition: V2NIMNotificationPushConfig.h:24
NSString * pushPayload
推送数据
Definition: V2NIMNotificationPushConfig.h:22
NSArray * forcePushAccountIds
强制推送目标账号列表,只通知类型有效
Definition: V2NIMNotificationPushConfig.h:28
NSString * forcePushContent
强制推送文案,只通知类型有效
Definition: V2NIMNotificationPushConfig.h:26
BOOL pushEnabled
是否需要推送通知。true:需要, false:不需要
Definition: V2NIMNotificationPushConfig.h:16
BOOL pushNickEnabled
是否需要推送通知发送者昵称。true:需要, false:不需要
Definition: V2NIMNotificationPushConfig.h:18
NSString * pushContent
推送文案
Definition: V2NIMNotificationPushConfig.h:20