Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
void | onPhaseChanged (RoomPhase phase) |
void | onDisconnectWithError (Exception e) |
void | onKickedWithReason (String reason) |
void | onRoomStateChanged (RoomState modifyState) |
void | onCanUndoStepsUpdate (long canUndoSteps) |
void | onCanRedoStepsUpdate (long canRedoSteps) |
void | onCatchErrorWhenAppendFrame (long userId, Exception error) |
void | onPhaseChanged (RoomPhase phase) |
void | onDisconnectWithError (Exception e) |
void | onKickedWithReason (String reason) |
void | onRoomStateChanged (RoomState modifyState) |
void | onCanUndoStepsUpdate (long canUndoSteps) |
void | onCanRedoStepsUpdate (long canRedoSteps) |
void | onCatchErrorWhenAppendFrame (long userId, Exception error) |
Created by buhe on 2018/8/12. The default (empty) implementation of the RoomCallbacks
interface.
void com.herewhite.sdk.AbstractRoomCallbacks.onPhaseChanged | ( | RoomPhase | phase | ) |
Occurs when the room connection state changes.
phase | The current connection state of the room. See RoomPhase . |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onDisconnectWithError | ( | Exception | e | ) |
Occurs when the SDK loses connection with the Interactive Whiteboard server.
e | An error message. |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onKickedWithReason | ( | String | reason | ) |
Occurs when the local user is removed from the live Interactive Whiteboard room.
reason | The reason why the user is removed from the room. |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onRoomStateChanged | ( | RoomState | modifyState | ) |
Occurs when the room state changes.
This callback reports only the room state fields that have changed and returns null
for the room state fields that have not changed.
modifyState | The room state that has changed. See RoomState . |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onCanUndoStepsUpdate | ( | long | canUndoSteps | ) |
Occurs when the number of undoable actions changes.
The SDK triggers this callback every time the local user calls undo
and reports the number of remaining undoable actions.
canUndoSteps | The number of remaining undoable actions. |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onCanRedoStepsUpdate | ( | long | canRedoSteps | ) |
Occurs when the number of redoable actions changes.
The SDK triggers this callback every time the local user calls redo
and reports the number of remaining redoable actions.
canRedoSteps | The number of remaining redoable actions. |
Implements com.herewhite.sdk.RoomListener.
void com.herewhite.sdk.AbstractRoomCallbacks.onCatchErrorWhenAppendFrame | ( | long | userId, |
Exception | error | ||
) |
Reports the errors that occur during the synchronization of a user's operations.
userId | The user ID of the user whose operations are being synchronized. |
error | An error message. |
Implements com.herewhite.sdk.RoomListener.