Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_GetAudioInfo

### Interface Definition

C++C#

    1
    2
    3
    4
    BOOL NET_SDK_GetAudioInfo(
        POINTERHANDLE lVoiceComHandle,
        void* pAudioInfo,
        LONG infoLen);

    1
    2
    3
    4
    public static extern bool NET_SDK_GetAudioInfo(
        POINTERHANDLE lVoiceComHandle,
        IntPtr pAudioInfo,
        int infoLen);

### Function Description

Get audio information.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lVoiceComHandlein | POINTERHANDLE | Voice intercom handle, the return value of `NET_SDK_StartVoiceCom` or `NET_SDK_StartVoiceCom_MR`.
pAudioInfoin | void* | Pointer to audio information.
infoLenin | LONG | The length of the audio information pAudioInfo.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code