ZegoRangeSceneItemEventHandler Protocol Reference

Conforms to NSObject
Declared in ZegoExpressEventHandler.h

– rangeScene:itemEnterView:capacity:position:userList:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemEnterView:(long long)itemID capacity:(unsigned int)capacity position:(ZegoPosition *)position userList:(NSArray<NSString*> *)userList

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

capacity

The number of users allowed to bind the item.

position

Item position.

userList

List of users the item is currently bound to.

Declared In

ZegoExpressEventHandler.h

– rangeScene:itemLeaveView:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemLeaveView:(long long)itemID

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

Declared In

ZegoExpressEventHandler.h

– rangeScene:itemBindUpdate:userID:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemBindUpdate:(long long)itemID userID:(NSString *)userID

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

userID

The user ID of the item binding.

Declared In

ZegoExpressEventHandler.h

– rangeScene:itemUnbindUpdate:userList:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemUnbindUpdate:(long long)itemID userList:(NSArray<NSString*> *)userList

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

userList

List of users the item unbind.

Declared In

ZegoExpressEventHandler.h

– rangeScene:itemStatusUpdate:position:channel:status:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemStatusUpdate:(long long)itemID position:(ZegoPosition *)position channel:(unsigned int)channel status:(NSData *)status

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

position

Item’s current position.

channel

The channel to which the status belongs.

status

Current status data.

Declared In

ZegoExpressEventHandler.h

– rangeScene:itemCommandUpdate:position:channel:command:

Range scene instance that triggers this callback.

- (void)rangeScene:(ZegoRangeScene *)rangeScene itemCommandUpdate:(long long)itemID position:(ZegoPosition *)position channel:(unsigned int)channel command:(NSData *)command

Parameters

rangeScene

Range scene instance that triggers this callback.

itemID

Item ID.

position

Item’s current position.

channel

The channel to which the command belongs.

command

Next command data.

Declared In

ZegoExpressEventHandler.h