Diarkis C++Client Library API Document
Diarkis::DiarkisRoomJoinEventArgs Struct Reference

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::StdStringGetErrorMessage () 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
 

Detailed Description

Arguments of the callback event called when joined a room.

Constructor & Destructor Documentation

◆ DiarkisRoomJoinEventArgs() [1/3]

Diarkis::DiarkisRoomJoinEventArgs::DiarkisRoomJoinEventArgs ( bool  isSuccess,
uint32_t  createdAt,
uint16_t  errorCode,
const Diarkis::StdString errorString 
)

◆ DiarkisRoomJoinEventArgs() [2/3]

Diarkis::DiarkisRoomJoinEventArgs::DiarkisRoomJoinEventArgs ( DiarkisRoomJoinEventArgs )
delete

◆ DiarkisRoomJoinEventArgs() [3/3]

Diarkis::DiarkisRoomJoinEventArgs::DiarkisRoomJoinEventArgs ( DiarkisRoomJoinEventArgs &&  )
delete

Member Function Documentation

◆ IsSuccess()

bool Diarkis::DiarkisRoomJoinEventArgs::IsSuccess ( ) const

Get whether the command was successful or not.

true=success false=failure

Here is the caller graph for this function:

◆ GetCreatedAt()

uint32_t Diarkis::DiarkisRoomJoinEventArgs::GetCreatedAt ( ) const

Get the time when a user joins a room.

Here is the caller graph for this function:

◆ GetErrorCode()

uint16_t Diarkis::DiarkisRoomJoinEventArgs::GetErrorCode ( ) const

Get error code.

Return 0 if IsSuccess()=true.

Here is the caller graph for this function:

◆ GetErrorMessage()

const Diarkis::StdString& Diarkis::DiarkisRoomJoinEventArgs::GetErrorMessage ( ) const

Gets the contents of the error.

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: