QQApi  1.0
QQApi ver 1.0
 全部  函数 属性
QQApiMessage类参考

#import <QQApi.h>

所有成员的列表。

公有成员

(id) - initWithObject:andType:

静态公有成员

(QQApiMessage *) + messageWithObject:
(QQApiMessage *) + messageWithObject:andType:

属性

QQApiMessageType type
QQApiObjectobject

详细描述

用于在QQ和插件间发送消息、数据等。


成员函数文档

- (id) initWithObject: (QQApiObject *)  obj
andType: (QQApiMessageType)  type 

初始化函数

通过ApiObject获取QQApiMessage对象

注解:
通过此接口获取的对象类型为APP发送到QQ的请求
+ (QQApiMessage*) messageWithObject: (QQApiObject *)  obj
andType: (QQApiMessageType)  type 

通过ApiObject及MessageType获取QQApiMessage对象


属性文档

- (QQApiMessageType) type [read, write, assign]

消息类型.

注解:
参见QQApi.h中的 QQApiMessageType 定义