License¶
Mira requires a license to run. The license validation itself does not interfere with the application, if the license is valid.
Attempting to run Mira without a valid license will cause the device to restart after a few seconds.
The Mira license API gives feedback if the license is currently being validated, and if it is valid or not.
Functions¶
mira_license_is_validating¶
Check if the license is currently under validation.
To wait until the license validation is done, use:
Without a valid license, the device restarts within a few seconds.
Return value¶
Name | Description |
---|---|
MIRA_TRUE | License is still validating. |
MIRA_FALSE | License validation is finished. |
mira_license_is_valid¶
Return if the license is valid.
During validation, the return value is undefined.
To wait until the license validation is done, use:
Return value¶
Name | Description |
---|---|
MIRA_TRUE | License is valid. |
MIRA_FALSE | License is not valid. |