NIMSubscribeRequest Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMSubscribeRequest.h |
type
Event type. The reserved types range from 1 to 99999. Set values out of this range for custom event types.
@property (nonatomic, assign) NSInteger type
Discussion
Event type. The reserved types range from 1 to 99999. Set values out of this range for custom event types.
Declared In
NIMSubscribeRequest.h
expiry
The validity period of a subscription. Value range: 60 seconds to 7 days. Unit: seconds. The default value is 7 days.,
@property (nonatomic, assign) NSTimeInterval expiry
Discussion
The validity period of a subscription. Value range: 60 seconds to 7 days. Unit: seconds. The default value is 7 days.,
Declared In
NIMSubscribeRequest.h
syncEnabled
Specify whether to synchronize the event status value immediately after subscription
@property (nonatomic, assign) BOOL syncEnabled
Discussion
Specify whether to synchronize the event status value immediately after subscription
The default value is NO. If the value is set to YES , you will receive an event callback - (void)onRecvSubscribeEvent:
Declared In
NIMSubscribeRequest.h
publishers
IDs of publishers that published the event. Up to 100 IDs are allowed.
@property (nonatomic, copy) NSArray *publishers
Discussion
IDs of publishers that published the event. Up to 100 IDs are allowed.
Since the same event may be triggered by different users, you can only subscribe to events published by users in the array.
Declared In
NIMSubscribeRequest.h