Manages the extensions of the Switchboard SDK.
More...
#include <ExtensionManager.hpp>
|
| void | registerExtension (std::shared_ptr< Extension > extension) |
| | Registers an extension.
|
| Result< void > | initializeExtension (const std::string &extensionName, const SBAnyMap &config) |
| | Initializes an extension with the given configuration.
|
| Result< void > | deinitializeExtension (const std::string &extensionName) |
| | Deinitializes an extension.
|
Manages the extensions of the Switchboard SDK.
◆ deinitializeExtension()
| Result< void > switchboard::ExtensionManager::deinitializeExtension |
( |
const std::string & | extensionName | ) |
|
Deinitializes an extension.
- Parameters
-
| extensionName | The name of the extension to deinitialize. |
- Returns
- Result<void> Success if the extension was deinitialized, error otherwise.
◆ initializeExtension()
| Result< void > switchboard::ExtensionManager::initializeExtension |
( |
const std::string & | extensionName, |
|
|
const SBAnyMap & | config ) |
Initializes an extension with the given configuration.
- Parameters
-
| extensionName | The name of the extension to initialize. |
| config | The configuration parameters for the extension. |
- Returns
- Result<void> Success if the extension was initialized, error otherwise.
◆ registerExtension()
| void switchboard::ExtensionManager::registerExtension |
( |
std::shared_ptr< Extension > | extension | ) |
|
Registers an extension.
- Parameters
-
| extension | The extension to register. |
The documentation for this class was generated from the following file: