NIMSDK-iOS
载入中...
搜索中...
未找到
NIMNotificationContent.h
浏览该文件的文档.
1//
2// NIMNotificationContent.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright (c) 2015 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12/**
13 * 通知类型
14 */
15typedef NS_ENUM(NSInteger, NIMNotificationType){
16
17 /**
18 * 未被支持的通知类型
19 * @discussion 由于系统升级,旧版本的 SDK 可能无法解析新版本数据,所有无法解析的新通知显示为未被支持
20 */
22 /**
23 * 群通知
24 */
26 /**
27 * 网络电话通知
28 */
30 /**
31 * 聊天室通知
32 */
34 /**
35 * 超大群通知
36 */
38};
39
40
41
42/**
43 * 系统通知内容基类
44 */
45@interface NIMNotificationContent : NSObject
46/**
47 * 通知内容类型
48 *
49 * @return 通知内容类型
50 */
52@end
53
54NS_ASSUME_NONNULL_END
NIMNotificationType
Definition: NIMNotificationContent.h:15
@ NIMNotificationTypeChatroom
Definition: NIMNotificationContent.h:33
@ NIMNotificationTypeSuperTeam
Definition: NIMNotificationContent.h:37
@ NIMNotificationTypeTeam
Definition: NIMNotificationContent.h:25
@ NIMNotificationTypeUnsupport
Definition: NIMNotificationContent.h:21
@ NIMNotificationTypeNetCall
Definition: NIMNotificationContent.h:29
Definition: NIMNotificationContent.h:46
NIMNotificationType notificationType()