NIMSDK-iOS
载入中...
搜索中...
未找到
NIMCustomSystemNotificationSetting.h
浏览该文件的文档.
1//
2// NIMCustomNotificationSetting.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2015年 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12/**
13 * 自定义系统通知配置
14 */
16
17/**
18 * 系统通知是否需要被计入苹果推送通知的未读计数
19 * @discussion 默认为YES。默认情况下,用户收到的自定义系统通知会在应用图标上累计未读。
20 */
21@property (nonatomic,assign) BOOL shouldBeCounted;
22/**
23 * 消息是否需要苹果推送
24 * @discussion 默认为YES。将这个字段设为NO,消息将不再有苹果推送通知。
25 */
26@property (nonatomic,assign) BOOL apnsEnabled;
27/**
28 * 苹果推送是否需要带前缀(一般为昵称)
29 * @discussion 默认为NO。将这个字段设为YES,推送消息将带有前缀(xx:)。
30 */
31@property (nonatomic,assign) BOOL apnsWithPrefix;
32
33@end
34
35
36NS_ASSUME_NONNULL_END
Definition: NIMCustomSystemNotificationSetting.h:16
BOOL shouldBeCounted
Definition: NIMCustomSystemNotificationSetting.h:21
BOOL apnsEnabled
Definition: NIMCustomSystemNotificationSetting.h:26
BOOL apnsWithPrefix
Definition: NIMCustomSystemNotificationSetting.h:31