FaceLicense.getHostHardwareCode Method

Module: FaceLicense

Definition

Retrieves the hardware code of the device using the requested hardware code type.

This function retrieves the hardware code of the device you run the library on.

The optional parameter is required:

  • On Android, it must be the JNIEnv* pointer cast as a void*.

  • In other cases, it must be set to NULL.

static String getHostHardwareCode(LicenseHardwareCodeType hardwareCodeType)

Parameters

hardwareCodeType LicenseHardwareCodeType
in The requested hardware code type.

Returns

String
The device hardware code.

Exceptions

An error has occurred during Face Library execution.