nabto_device_get_app_version()

DESCRIPTION

Get the app version. If the app name is not set, return NULL.

This function is not thread safe if set_app_version is called after or at the same time as this call.

DECLARATION

NABTO_DEVICE_DECL_PREFIX const char* NABTO_DEVICE_API
nabto_device_get_app_version(NabtoDevice* device)

PARAMETERS

device:
[in] The device.

RETURN VALUES

the app version or NULL if not set.

EXAMPLES

None.