JMSGCustomNotification Class Reference

Inherits from NSObject
Declared in JMSGOptionalContent.h

Overview

自定义通知栏消息的内容

  enabled

是否启用自定义通知栏,默认:NO

@property (nonatomic, assign) BOOL enabled

Declared In

JMSGOptionalContent.h

  title

自定义消息通知栏的标题

@property (nonatomic, strong) NSString *title

Declared In

JMSGOptionalContent.h

  alert

自定义消息通知栏的内容

@property (nonatomic, strong) NSString *alert

Declared In

JMSGOptionalContent.h

  atPrefix

被@目标的通知内容前缀

@property (nonatomic, strong) NSString *atPrefix

Discussion

此字段仅对@消息设置有效

Declared In

JMSGOptionalContent.h

  mutableContent

支持 iOS10 的 UNNotificationServiceExtension 字段

@property (nonatomic, assign) BOOL mutableContent

Discussion

消息携带 ”mutable-content":true 说明是支持 iOS10 的 UNNotificationServiceExtension,如果不携带此字段则是普通的 Remote Notification。详情参考:UNNotificationServiceExtension(https://docs.jiguang.cn/jpush/client/iOS/ios_new_fetures/#ios-10-service-extension)

Declared In

JMSGOptionalContent.h