![]() |
Diarkis C++Client Library API Document
|
Arguments of the callback event called when created a room. More...
#include <eventArgs.h>
Public Member Functions | |
bool | IsSuccess () const |
Get whether the command was successful or not. More... | |
const Diarkis::StdString & | GetRoomID () const |
Get the room ID. More... | |
uint32_t | GetCreationTime () const |
Get the time the room created. More... | |
uint16_t | GetErrorCode () const |
Get error code. More... | |
const Diarkis::StdString & | GetErrorMessage () const |
Gets the contents of the error. More... | |
DiarkisRoomCreationEventArgs (bool isSuccess, const Diarkis::StdString &id, uint32_t creationTime, uint16_t errorCode, const Diarkis::StdString &errorString) | |
DiarkisRoomCreationEventArgs (DiarkisRoomCreationEventArgs &)=delete | |
DiarkisRoomCreationEventArgs (DiarkisRoomCreationEventArgs &&)=delete | |
Arguments of the callback event called when created a room.
Diarkis::DiarkisRoomCreationEventArgs::DiarkisRoomCreationEventArgs | ( | bool | isSuccess, |
const Diarkis::StdString & | id, | ||
uint32_t | creationTime, | ||
uint16_t | errorCode, | ||
const Diarkis::StdString & | errorString | ||
) |
|
delete |
|
delete |
bool Diarkis::DiarkisRoomCreationEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure
const Diarkis::StdString& Diarkis::DiarkisRoomCreationEventArgs::GetRoomID | ( | ) | const |
Get the room ID.
uint32_t Diarkis::DiarkisRoomCreationEventArgs::GetCreationTime | ( | ) | const |
Get the time the room created.
uint16_t Diarkis::DiarkisRoomCreationEventArgs::GetErrorCode | ( | ) | const |
const Diarkis::StdString& Diarkis::DiarkisRoomCreationEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.