API 参考

[English]

本页汇总 System Super 公共头文件生成的 API 参考。

System

公共头文件: #include "brookesia/system_super/system.hpp"

Header File

Classes

class System : public esp_brookesia::system::core::System

User-facing Brookesia system implementation with the built-in shell experience.

Super extends system core with launcher, notification, quick control, keyboard, loading, dialog, theme, and language handling suitable for end-user products.

Public Functions

std::expected<void, std::string> init()

Initialize the system with default Super configuration.

返回

Empty result on success, or an error string.

std::expected<void, std::string> init(Config config)

Initialize the system with explicit Super configuration.

参数

config -- Super system configuration.

返回

Empty result on success, or an error string.

struct Config

Configuration used to initialize the Super system.

Public Members

core::System::Config core_config

Core system configuration forwarded to the base system implementation.