目录

network_boost.h

Overview

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

Summary

Structs

Struct Description
struct NetworkBoost_SceneDesc Defines the description information of a service scenario.

Enums

Enum Description

NetworkBoost_SceneEvent{

NB_SCENE_EVENT_ENTER = 0, NB_SCENE_EVENT_UPDATE = 1, NB_SCENE_EVENT_LEAVE = 2

}

Defines the enumeration of service scenario events.

Functions

Function Description
int32_t HMS_NetworkBoost_SetSceneDesc(NetworkBoost_SceneDesc sceneDesc) Sets the service scenario.