Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

AddOn.h

SDK add-on management. (more...)

Functions

Modifier and Type Name and Description
function vnc_status_t

vnc_enableAddOn(const char *addOnCode)

Enable an SDK add-on by passing in the content of the add-on code, obtained from RealVNC.

Detailed description

SDK add-on management.

Use the API provided here to manage optional add-ons that will be employed by your application.

Since
1.2

Functions

vnc_status_t vnc_enableAddOn(const char *addOnCode)

Enable an SDK add-on by passing in the content of the add-on code, obtained from RealVNC.

Return
vnc_success if successful. If vnc_failure is returned then call vnc_getLastError() to get the error code.
Since
1.2
Parameters
  • addOnCode -

    The text content of an add-on code.

Return Value
  • InvalidArgument -

    addOnCode is not a valid base64 text string.

  • NotEnabled -

    The code is not accepted and the add-on is not enabled. Refer to log output for more information regarding the reason for the code being rejected.

  • NotSupported -

    The code is valid but the add-on it enables is not supported on the platform the application is running on.

×