# QairtInterface

QAIRT interface definition.

**Include:** `#include "QairtInterface/QairtInterface.h"`

Functions

- [Qairt\_Status\_t](https://docs.qualcomm.com/doc/80-63442-10/topic/QairtCommon.html#_CPPv414Qairt_Status_t) QairtInterface\_getInterface(uint64\_t id, void \*\*interfaceOut)

    - Retrieve an interface by its unique identifier.

- Parameters

    - - **id** – **[in]** The unique identifier for the interface to retrieve. Interface IDs are defined in component headers (e.g., QAIRT\_BACKEND\_V1\_ID, QAIRT\_GRAPH\_V1\_ID).
- **interfaceOut** – **[out]** A pointer to be populated with the requested interface. The interface is a struct containing function pointers for the component’s API.

- Returns

    - Error code:

- QAIRT\_SUCCESS: Interface was successfully retrieved.
- QAIRT\_INTERFACE\_ERROR\_NOT\_SUPPORTED: The requested interface ID is not supported.
- QAIRT\_COMMON\_ERROR\_INVALID\_ARGUMENT: *interfaceOut* is NULL.

Enums

- enum QairtInterface\_Error\_t

    - *Values:*

- enumerator QAIRT\_INTERFACE\_MIN\_ERROR = QAIRT\_MIN\_ERROR\_INTERFACE

    - 

- enumerator QAIRT\_INTERFACE\_ERROR\_NOT\_SUPPORTED = 15000

    - API or feature is not supported by implementation.

- enumerator QAIRT\_INTERFACE\_MAX\_ERROR = QAIRT\_MAX\_ERROR\_INTERFACE

    - 

- enumerator QAIRT\_INTERFACE\_ERROR\_UNDEFINED = 0x7FFFFFFF

    -

Defines

- QAIRT\_INTERFACE

    -

Last Published: Jun 04, 2026

[Previous Topic
C API](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/index_c-api.md) [Next Topic
QairtSystem](https://docs.qualcomm.com/bundle/publicresource/80-63442-10/topics/QairtSystem.md)