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