![]() |
Diarkis C++Client Library API Document
|
Arguments of the callback event called when received Session Info. More...
#include <eventArgs.h>
Public Member Functions | |
bool | IsSuccess () const |
Get whether the command was successful or not. More... | |
uint8_t | GetSessionType () const |
Get the session type. More... | |
const StdString & | GetSessionID () const |
Get the session ID. More... | |
uint16_t | GetCurrentMembers () const |
Get the number of members joining the session. More... | |
uint16_t | GetMaxMembers () const |
Get the maximum number of users allowed to join a session. More... | |
const StdVector< StdString > & | GetMemberIDs () const |
Get the user IDs of members participating in a session. More... | |
const StdString & | GetOwnerID () const |
Get the session owner's user ID. More... | |
uint16_t | GetErrorCode () const |
Get error code. More... | |
const StdString & | GetErrorMessage () const |
Gets the contents of the error. More... | |
DiarkisSessionInfoEventArgs (bool isSuccess, uint8_t sessionType, const StdString &sessionID, uint16_t currentMembers, uint16_t maxMembers, const StdVector< StdString > &memberIDs, const StdString &ownerID, uint16_t errorCode, const StdString &errorString) | |
DiarkisSessionInfoEventArgs (DiarkisSessionInfoEventArgs &)=delete | |
DiarkisSessionInfoEventArgs (DiarkisSessionInfoEventArgs &&)=delete | |
Arguments of the callback event called when received Session Info.
Diarkis::DiarkisSessionInfoEventArgs::DiarkisSessionInfoEventArgs | ( | bool | isSuccess, |
uint8_t | sessionType, | ||
const StdString & | sessionID, | ||
uint16_t | currentMembers, | ||
uint16_t | maxMembers, | ||
const StdVector< StdString > & | memberIDs, | ||
const StdString & | ownerID, | ||
uint16_t | errorCode, | ||
const StdString & | errorString | ||
) |
|
delete |
|
delete |
bool Diarkis::DiarkisSessionInfoEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure
uint8_t Diarkis::DiarkisSessionInfoEventArgs::GetSessionType | ( | ) | const |
Get the session type.
const StdString& Diarkis::DiarkisSessionInfoEventArgs::GetSessionID | ( | ) | const |
Get the session ID.
uint16_t Diarkis::DiarkisSessionInfoEventArgs::GetCurrentMembers | ( | ) | const |
Get the number of members joining the session.
uint16_t Diarkis::DiarkisSessionInfoEventArgs::GetMaxMembers | ( | ) | const |
Get the maximum number of users allowed to join a session.
Get the user IDs of members participating in a session.
const StdString& Diarkis::DiarkisSessionInfoEventArgs::GetOwnerID | ( | ) | const |
Get the session owner's user ID.
uint16_t Diarkis::DiarkisSessionInfoEventArgs::GetErrorCode | ( | ) | const |
const StdString& Diarkis::DiarkisSessionInfoEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.