# SamgrLite ## **Overview** **Related Modules:** [Samgr](Samgr.md) **Description:** Represents the system ability management class. This class is used for registering and discovering services, features, and functions. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Fields
RegisterService )(Service *service) |
|
UnregisterService )(const char *name) |
Service *(* |
RegisterFeature )(const char *serviceName, Feature *feature) |
|
UnregisterFeature )(const char *serviceName, const char *featureName) |
Feature *(* |
RegisterDefaultFeatureApi )(const char *service, IUnknown *publicApi) |
|
UnregisterDefaultFeatureApi )(const char *service) |
IUnknown *(* |
RegisterFeatureApi )(const char *service, const char *feature, IUnknown *publicApi) |
|
UnregisterFeatureApi )(const char *service, const char *feature) |
IUnknown *(* |
GetDefaultFeatureApi )(const char *service) |
IUnknown *(* |
GetFeatureApi )(const char *serviceName, const char *feature) |
IUnknown *(* |
service | Indicates the name of the service to which the default feature belongs. |
service | Indicates the name of the service to which the feature belongs. |
feature | Indicates the name of the feature whose API will be obtained. |
service | Indicates the name of the service whose default feature's API will be registered. |
publicApi | Indicates the API to be registered. |
feature | Indicates the feature to be registered. |
service | Indicates the name of the service whose API will be registered. |
feature | Indicates the name of the feature whose API will be registered. |
publicApi | Indicates the API to be registered. |
service | Indicates the service to be registered. |
service | Indicates the name of the service whose default feature's API will be unregistered. |
serviceName | Indicates the name of the service whose feature will be unregistered. |
featureName | Indicates the name of the feature to be unregistered. |
service | Indicates the name of the service whose API will be unregistered. |
feature | Indicates the name of the feature whose API will be unregistered. |
name | Indicates the name of the service to be unregistered. |