API changes made in LUNA ID for Android v.1.16.1 in comparison to earlier versions#
This document outlines the changes introduced in LUNA ID for Android v.1.16.1 compared to previous versions. Carefully review these updates to ensure a smooth migration and continued functionality in your final application.
Enhanced event handling#
All events are now utilized effectively, except for UnknownError
. Previously in version 1.16.0 , events such as InteractionStarted
, InteractionFailed
, Started
, FaceFound
, and UnknownError
were not fully implemented or ignored. This update ensures broader coverage of event types to improve system responsiveness and debugging capabilities.
Command API restoration#
The following commands have been reintroduced:
CloseCameraCommand
- Allows closing the camera session programmatically.StartBestShotSearchCommand
- Initiates the best shot search process explicitly.
A method for sending commands has been restored:
sendCommand(command: Command)
This method allows you to interact with LUNA ID more flexibly by triggering specific actions (for example, starting or stopping processes) directly through the API.