Skip to main content

odin_room_id

Retrieves the room ID (e.g. the name of the room) from the specified

OdinRoomHandle

.

Declaration
OdinReturnCode odin_room_id(OdinRoomHandle room, char *out_id, size_t out_id_len);

Parameters

room

Handle of the room whose ID is to be retrieved. See

OdinRoomHandle

for more information.

Declaration
OdinRoomHandle room;

out_id

Buffer to store the room ID. The buffer must be large enough to store the room ID.

Declaration
char *out_id;

out_id_len

Size of the buffer in bytes.

Declaration
size_t out_id_len;

Returns

A return code indicating success or failure. See

OdinReturnCode

for more information.

Declaration
OdinReturnCode