BmobEvent Class Reference

Inherits from NSObject
Declared in BmobEvent.h

+ defaultBmobEvent

单例模式创建BmobEvent对象

+ (instancetype)defaultBmobEvent

Return Value

创建BmobEvent对象

Declared In

BmobEvent.h

– start

启动

- (void)start

Declared In

BmobEvent.h

– stop

停止

- (void)stop

Declared In

BmobEvent.h

– listenTableChange:tableName:

订阅表的变化事件

- (void)listenTableChange:(BmobActionType)actionType tableName:(NSString *)tableName

Parameters

actionType

包括表更新,表删除

tableName

表名

Declared In

BmobEvent.h

– listenRowChange:tableName:objectId:

订阅行的变化事件

- (void)listenRowChange:(BmobActionType)actionType tableName:(NSString *)tableName objectId:(NSString *)objectId

Parameters

actionType

包含行更新,行删除

tableName

表名

objectId

行的objectId

Declared In

BmobEvent.h

– cancelListenTableChange:tableName:

取消订阅表的变化事件

- (void)cancelListenTableChange:(BmobActionType)actionType tableName:(NSString *)tableName

Parameters

actionType

包括表更新,表删除

tableName

表名

Declared In

BmobEvent.h

– cancelListenRowChange:tableName:objectId:

取消订阅行的变化事件

- (void)cancelListenRowChange:(BmobActionType)actionType tableName:(NSString *)tableName objectId:(NSString *)objectId

Parameters

actionType

包含行更新,行删除

tableName

表名

objectId

行的objectId

Declared In

BmobEvent.h