LivenessResult

Superclass:
NSObject
Declared In:

Introduction

The LivenessResult interface. An interface for a liveness check result.



Methods

-getStatusCode

Gets validation status code

-getValue:

Gets validation result value. Available only if validation preceding liveness check was successful,

-ok

Returns flag indicating whether validation was successful and liveness result value is available


getStatusCode


Gets validation status code

- (LivenessResultValidationStatusCode)getStatusCode; 
Return Value

Validation status code.


getValue:


Gets validation result value. Available only if validation preceding liveness check was successful,

- (LivenessResultValue* _Nullable)getValue:(NSError* _Nullable* _Nullable)error; 
Parameters
error

pointer to NSError for error reporting if instance does not contain result value

Return Value

Liveness check result value

See

ok.


ok


Returns flag indicating whether validation was successful and liveness result value is available

- (VoiceSdkBool* _Nullable)ok; 
Return Value

true if validation was successful and value is available, otherwise false