当前仅显示指定条件回帖 [ 展开查看全部 ]
文件名称:
samgr_lite-h.md
所在目录:
Openharmony v1.0 / docs / docs-en / api / api-LinkIoT
文件大小:
7.56 KB
下载地址:
文本预览:
# samgr\_lite.h
## **Overview**
**Related Modules:**
[Samgr](samgr.md)
**Description:**
Manages system capabilities.
This is used when services, features, and functions are registered with and discovered by Samgr.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures
## Macros
## Typedefs
## Enumerations
## Functions
## **Overview**
**Related Modules:**
[Samgr](samgr.md)
**Description:**
Manages system capabilities.
This is used when services, features, and functions are registered with and discovered by Samgr.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures
Represents the system ability management class. |
## Macros
BOOTSTRAP_SERVICE "Bootstrap" | Starts a bootstrap service, which is used by samgr and implemented by system service developers. |
## Typedefs
typedef enum BootMessage Enumerates the IDs of the message to be processed for starting the bootstrap service. | |
typedef struct SamgrLite Represents the system ability management class. |
## Enumerations
BootMessage { BOOT_SYS_COMPLETED, BOOT_APP_COMPLETED, BOOT_REG_SERVICE, BOOTSTRAP_BUTT } | Enumerates the IDs of the message to be processed for starting the bootstrap service. |
## Functions
SAMGR_GetInstance (void) | Obtains the singleton Samgr instance. |
SAMGR_Bootstrap (void) | Starts system services and features. |
点赞
回复
X