odin_room_set_event_callback
Sets the event callback on the the specified OdinRoomHandle
Declaration
Parameters
room
Handle of the room ( OdinRoomHandle
Declaration
callback
The callback function to be invoked on room events. The callback function should have the following signature:
Declaration
Parameters
room
Handle of the room ( OdinRoomHandle
Declaration
event
Pointer to the event that occurred. See OdinEvent
Declaration
extra_data
Pointer to user-defined data that was passed to the callback function.
Declaration
extra_data
User-defined data that will be passed to the callback function.
Declaration
Returns
A return code indicating success or failure. See OdinReturnCode
Return Type