Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
agora::rtc::IConfigCenter Class Referenceabstract

`#include <NGIAgoraConfigCenter.h>`

Inherits agora::RefCountInterface.

## Public Member Functions
virtual int | SetLocalAccessPoint (const LocalAccessPointConfiguration &config)=0
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0

## Protected Member Functions
virtual | ~IConfigCenter ()
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Constructor & Destructor Documentation

## ◆ ~IConfigCenter()

virtual agora::rtc::IConfigCenter::~IConfigCenter | ( |  | ) |
| inlineprotectedvirtual

## Member Function Documentation

## ◆ SetLocalAccessPoint()

virtual int agora::rtc::IConfigCenter::SetLocalAccessPoint | ( | const LocalAccessPointConfiguration & | config | ) |
| pure virtual

Set local access point addresses in local Ap mode(which also calls local proxy). Use this method before join channel.

Parameters

  config | The LocalAccessPointConfiguration class, See the definition of LocalAccessPointConfiguration for details.

Returns
  - 0: Success
  - < 0: Failure