Agora RTC Objective-C API Reference Refactor

Public Member Functions
ILipSyncFilter::Control Class Referenceabstract

Inherits RefCountInterface.

## Public Member Functions
virtual int | postEvent (const char *key, const char *value)=0
virtual void | printLog (commons::LOG_LEVEL level, const char *format,...)=0
virtual void | disableMe (int error, const char *msg)=0
virtual void | ReportCounter (int32_t counter_id, int32_t value)=0
virtual int | GetStats (int32_t counter_id)=0

## Member Function Documentation

## ◆ postEvent()

virtual int postEvent | ( | const char * | key,
|  | const char * | value
| ) |  |
| pure virtual

Post an event and notify the end users.

Parameters

  key | '\0' ended string that describes the key of the event
  value | '\0' ended string that describes the value of the event

## ◆ printLog()

virtual void printLog | ( | commons::LOG_LEVEL | level,
|  | const char * | format,
|  |  | ...
| ) |  |
| pure virtual

print log to the SDK.

Parameters

  level | Log level agora::commons::LOG_LEVEL
  format | log formatter string
  ... | variadic arguments

## ◆ disableMe()

virtual void disableMe | ( | int | error,
|  | const char * | msg
| ) |  |
| pure virtual

Ask SDK to disable the current filter if a fatal error is detected.

Parameters

  error | error code
  msg | error message

## ◆ ReportCounter()

virtual void ReportCounter | ( | int32_t | counter_id,
|  | int32_t | value
| ) |  |
| pure virtual

report counter to the SDK.

Parameters

  counter_id | counter id
  value | counter value

## ◆ GetStats()

virtual int GetStats | ( | int32_t | counter_id | ) |
| pure virtual

get stats to the SDK.

Parameters

  counter_id | counter id

## ◆ AddRef()

virtual void AddRef | ( |  | ) | const
| pure virtual inherited

## ◆ Release()

virtual RefCountReleaseStatus Release | ( |  | ) | const
| pure virtual inherited

## ◆ HasOneRef()

virtual bool HasOneRef | ( |  | ) | const
| pure virtual inherited