Agora Java API Reference for Android
|
Public Member Functions | |
virtual int | postEvent (const char *key, const char *value)=0 |
Post an event and notify the end users. More... | |
virtual void | printLog (commons::LOG_LEVEL level, const char *format,...)=0 |
print log to the SDK. More... | |
virtual void | disableMe (int error, const char *msg)=0 |
Ask SDK to disable the current filter if a fatal error is detected. More... | |
virtual void | ReportCounter (int32_t counter_id, int32_t value)=0 |
report counter to the SDK. More... | |
virtual int | GetStats (int32_t counter_id)=0 |
get stats to the SDK. More... | |
![]() | |
virtual void | AddRef () const =0 |
virtual RefCountReleaseStatus | Release () const =0 |
virtual bool | HasOneRef () const =0 |
|
pure virtual |
Post an event and notify the end users.
key | '\0' ended string that describes the key of the event |
value | '\0' ended string that describes the value of the event |
|
pure virtual |
print log to the SDK.
level | Log level agora::commons::LOG_LEVEL |
format | log formatter string |
... | variadic arguments |
|
pure virtual |
Ask SDK to disable the current filter if a fatal error is detected.
error | error code |
msg | error message |
|
pure virtual |
report counter to the SDK.
counter_id | counter id |
value | counter value |
|
pure virtual |
get stats to the SDK.
counter_id | counter id |