Callback interface for remote license.
More...
#include <license.h>
|
virtual std::vector< uint8_t > | on_load ()=0 |
| Called when license is about to be fetch from server. Callback implementation is supposed to return cached license data (stored previously inside on_updated callback) More...
|
|
virtual void | on_updated (const std::vector< uint8_t > &license_data)=0 |
| Called if license is successfully fetched. Callback implementation should cache the license and return cache subsequent on_load call. More...
|
|
Callback interface for remote license.
◆ on_load()
virtual std::vector<uint8_t> face_sdk::license_callback::on_load |
( |
| ) |
|
|
pure virtual |
Called when license is about to be fetch from server. Callback implementation is supposed to return cached license data (stored previously inside on_updated callback)
- Exceptions
-
◆ on_updated()
virtual void face_sdk::license_callback::on_updated |
( |
const std::vector< uint8_t > & |
license_data | ) |
|
|
pure virtual |
Called if license is successfully fetched. Callback implementation should cache the license and return cache subsequent on_load call.
- Exceptions
-
The documentation for this class was generated from the following file: