Face SDK  1.8.1 Mozart release
Face Recognition Software Development Kit
Public Member Functions | List of all members
face_sdk::license_callback Class Referenceabstract

Callback interface for remote license. More...

#include <license.h>

Public Member Functions

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...
 

Detailed Description

Callback interface for remote license.

Member Function Documentation

◆ 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
face_sdk::exception

◆ 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
face_sdk::exception

The documentation for this class was generated from the following file: