OH_QoS_GewuCreateSessionResult
typedef struct { ... } OH_QoS_GewuCreateSessionResult
Overview
Defines a struct for the return results of the OH_QoS_GewuCreateSession() API. If the operation is successful, the created session is returned. If the operation fails, the corresponding error code is returned.
Since: 20
Related module: QoS
Header file: qos.h
Summary
Member Variables
| Name | Description |
|---|---|
| OH_QoS_GewuSession session | Defines the created session handle. |
| OH_QoS_GewuErrorCode error | Defines the error code. - If a session is successfully created, OH_QOS_GEWU_OK is returned. - If the session fails to be created due to insufficient memory, OH_QOS_GEWU_NOMEM is returned. |