WhiteRoomCallbackDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | WhiteRoomCallbacks.h |
– firePhaseChanged:
Occurs when the room connection state changes.
- (void)firePhaseChanged:(WhiteRoomPhase)phaseParameters
phase |
The current connection state of the room. See WhiteRoomPhase. |
|---|
Declared In
WhiteRoomCallbacks.h
– fireRoomStateChanged:
Occurs when the room state changes.
- (void)fireRoomStateChanged:(WhiteRoomState *)modifyStateParameters
modifyState |
The room state that has changed. See WhiteRoomState. |
|---|
Discussion
This callback reports only the room state fields that have changed and returns null for the room state fields that have not changed.
Declared In
WhiteRoomCallbacks.h
– fireDisconnectWithError:
Occurs when the SDK loses connection with the Interactive Whiteboard server.
- (void)fireDisconnectWithError:(NSString *)errorParameters
error |
An error message. |
|---|
Declared In
WhiteRoomCallbacks.h
– fireKickedWithReason:
Occurs when the local user is removed from the live Interactive Whiteboard room.
- (void)fireKickedWithReason:(NSString *)reasonParameters
reason |
The reason why the user is removed from the room. |
|---|
Declared In
WhiteRoomCallbacks.h
– fireCatchErrorWhenAppendFrame:error:
Reports the errors that occur during the synchronization of a user’s operations.
- (void)fireCatchErrorWhenAppendFrame:(NSUInteger)userId error:(NSString *)errorParameters
userId |
The user ID of the user whose operations are being synchronized. |
|---|---|
error |
An error message. |
Declared In
WhiteRoomCallbacks.h
– fireCanUndoStepsUpdate:
Occurs when the number of undoable actions changes.
- (void)fireCanUndoStepsUpdate:(NSInteger)canUndoStepsParameters
canUndoSteps |
The number of remaining undoable actions. |
|---|
Discussion
The SDK triggers this callback every time the local user calls undo and reports the number of remaining undoable actions.
Declared In
WhiteRoomCallbacks.h
– fireCanRedoStepsUpdate:
Occurs when the number of undoable actions changes.
- (void)fireCanRedoStepsUpdate:(NSInteger)canRedoStepsParameters
canRedoSteps |
The number of remaining undoable actions. |
|---|
Discussion
The SDK triggers this callback every time the local user calls redo and reports the number of remaining undoable actions.
Declared In
WhiteRoomCallbacks.h
– fireMagixEvent:
Occurs when the a custom event is created.
- (void)fireMagixEvent:(WhiteEvent *)eventParameters
event |
A custom event. See WhiteEvent. |
|---|
Declared In
WhiteRoomCallbacks.h
– fireHighFrequencyEvent:
Occurs when the a high frequency event is created.
- (void)fireHighFrequencyEvent:(NSArray<WhiteEvent*> *)eventsParameters
events |
A high frequency event. See WhiteEvent. |
|---|
Declared In
WhiteRoomCallbacks.h