# SamgrLite - [Overview](#section1479211129165636) - [Summary](#section1482277520165636) - [Data Fields](#pub-attribs) - [Details](#section1810909222165636) - [Field](#section1636874996165636) - [GetDefaultFeatureApi](#ac9d054e649b089ce256128ea4731cf57) - [GetFeatureApi](#aad5c8419acea291e00059f79f8e6c8d1) - [RegisterDefaultFeatureApi](#aafa34cfe11f389b208e90ba451000c1d) - [RegisterFeature](#a05153cf073a1373bac53a0a1c2030ba0) - [RegisterFeatureApi](#a9c1a5452e501478a984a1220f550efba) - [RegisterService](#a9adf6d526e11688ad318229487cfc0b4) - [UnregisterDefaultFeatureApi](#a46f630c5a037c569a5b7806b4f8804ad) - [UnregisterFeature](#a03c53143dae167f685d796f3a806a574) - [UnregisterFeatureApi](#a2e33f34b97159b6673dff37e675ed844) - [UnregisterService](#a3cebb3773860e67de745ac24021e63b0) ## **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. |