Declares APIs for network acceleration, and defines basic functions, structs, and constants.
File to include: <NetworkBoostKit/network_boost.h>
Library: libnetwork_boost.so
System capability: SystemCapability.Communication.NetworkBoost.Core
Since: 6.0.2(22)
Related module: NetworkBoost
| Struct | Description |
|---|---|
| struct NetworkBoost_SceneDesc | Defines the description information of a service scenario. |
| Enum | Description |
|---|---|
| NB_SCENE_EVENT_ENTER = 0, NB_SCENE_EVENT_UPDATE = 1, NB_SCENE_EVENT_LEAVE = 2 } | Defines the enumeration of service scenario events. |
| Function | Description |
|---|---|
| int32_t HMS_NetworkBoost_SetSceneDesc(NetworkBoost_SceneDesc sceneDesc) | Sets the service scenario. |