NIMCustomSystemNotificationSetting Class Reference

Inherits from NSObject
Declared in NIMCustomSystemNotificationSetting.h

Overview

Custom setting for system notifications

  shouldBeCounted

Specify whether to count system notifications into the unread count of Apple Push Notifications.

@property (nonatomic, assign) BOOL shouldBeCounted

Discussion

Specify whether to count system notifications into the unread count of Apple Push Notifications.

The default value is YES By default, custom system notifications received by users are counted unread on the app badge.

Declared In

NIMCustomSystemNotificationSetting.h

  apnsEnabled

Specify whether to enable APNS

@property (nonatomic, assign) BOOL apnsEnabled

Discussion

Specify whether to enable APNS

The default value is YES If the field is set to NO, messages are not delivered using APNS

Declared In

NIMCustomSystemNotificationSetting.h

  apnsWithPrefix

Specify whether to add prefixes for messages delivered by APNS. In most cases, a nickname is used as prefix.

@property (nonatomic, assign) BOOL apnsWithPrefix

Discussion

Specify whether to add prefixes for messages delivered by APNS. In most cases, a nickname is used as prefix.

The default value is NO If the value is set to YES, push notifications will have a prefix (xx:).

Declared In

NIMCustomSystemNotificationSetting.h