ShengwangChatSDK 1.3.2
构造函数 | 属性 | 所有成员列表
AgoraChatCmdMessageBody类 参考

#import <AgoraChatCmdMessageBody.h>

类 AgoraChatCmdMessageBody 继承关系图:
AgoraChatMessageBody

构造函数

(instancetype _Nonnull) - initWithAction:
 
((unavailable("call initWithAction: instead") - __attribute__
 
- 构造函数 继承自 AgoraChatMessageBody
(instancetype _Nonnull) - NS_UNAVAILABLE
 

属性

NSString * action
 
BOOL isDeliverOnlineOnly
 
- 属性 继承自 AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

详细描述

@header AgoraChatCmdMessageBody.h @abstract The command message body object.

作者
Hyphenate
版本
3.00 The command message body.

函数文档

◆ initWithAction:

- (instancetype _Nonnull) initWithAction: (NSString *_Nonnull)  aAction

The construct command message body. Developer self-defined command string that can be used for specifing custom action/command. See ext in AgoraChatMessage.

参数
aActionThe self-defined command string content.
返回
The instance of command message body.

属性说明

◆ action

- (NSString*) action
readwritenonatomiccopy

The command content.

◆ isDeliverOnlineOnly

- (BOOL) isDeliverOnlineOnly
readwritenonatomicassign

Whether this cmd msg is delivered to the online users only. The default value is NO. Set this parameter as YES and the msg is delivered to the online users only, so the offline users won't receive the msg when they log in later.


该类的文档由以下文件生成: