Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- activeLiveness(ActiveLivenessParam) - Method in class glair.vision.api.FaceBio
-
Perform Active Liveness detection using default configuration settings.
- activeLiveness(ActiveLivenessParam, VisionSettings) - Method in class glair.vision.api.FaceBio
-
Perform Active Liveness detection using custom configuration settings.
- ActiveLivenessParam - Class in glair.vision.model.param
-
A record representing parameters for Active Liveness detection.
- ActiveLivenessParam(String, GestureCode) - Constructor for class glair.vision.model.param.ActiveLivenessParam
-
Constructs an ActiveLivenessParam object with the specified image path and gesture code.
- activeLivenessSessions() - Method in class glair.vision.api.FaceBio
-
Get access to Active Liveness Sessions related operations.
- ActiveLivenessSessions - Class in glair.vision.api.sessions
-
Represents a session for Active Liveness operations.
- ActiveLivenessSessions(Config) - Constructor for class glair.vision.api.sessions.ActiveLivenessSessions
-
Constructs an ActiveLivenessSessions instance with the provided configuration.
- ActiveLivenessSessionsParam - Class in glair.vision.model.param.sessions
-
Represents the parameters for an Active Liveness session.
- ActiveLivenessSessionsParam(String) - Constructor for class glair.vision.model.param.sessions.ActiveLivenessSessionsParam
-
Constructs an ActiveLivenessSessionsParam instance with the specified success URL.
- addFileToFormData(MultipartBody.Builder, String, String) - Static method in class glair.vision.util.Util
-
Adds a file to the specified
MultipartBody.Builderas form data. - addTextToFormData(MultipartBody.Builder, String, String) - Static method in class glair.vision.util.Util
-
Adds text data to the specified
MultipartBody.Builderas form data. - apiKey(String) - Method in class glair.vision.model.VisionSettings.Builder
-
Sets the API key for authentication with the service.
- apiVersion(String) - Method in class glair.vision.model.VisionSettings.Builder
-
Sets the API version for communication with the service.
B
- Base64 - Class in glair.vision.util
-
Utilities for encoding and decoding the Base64 representation of binary data.
- Base64() - Constructor for class glair.vision.util.Base64
- BaseSessions<T extends BaseSessionsParam> - Class in glair.vision.model
-
The base class for sessions handling, providing common functionality and configurations for different session types.
- BaseSessions(Config, String, String) - Constructor for class glair.vision.model.BaseSessions
-
Constructs a BaseSessions instance with the specified configuration, session type, and base URL.
- BaseSessionsParam - Class in glair.vision.model.param.sessions
-
Represents the basic parameters for a session.
- BaseSessionsParam(String) - Constructor for class glair.vision.model.param.sessions.BaseSessionsParam
-
Constructs a BasicSessionsParam instance with the specified success URL.
- baseUrl - Variable in class glair.vision.model.BaseSessions
-
The base URL for the session operations, e.g., "ocr/:version/ktp-sessions".
- baseUrl(String) - Method in class glair.vision.model.VisionSettings.Builder
-
Sets the base URL for the vision-related service.
- body(RequestBody) - Method in class glair.vision.model.Request.RequestBuilder
-
Sets the HTTP request body.
- bpkb(BpkbParam) - Method in class glair.vision.api.Ocr
-
Perform OCR on a BPKB image using default configuration settings.
- bpkb(BpkbParam, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a BPKB image using custom configuration settings.
- BpkbParam - Class in glair.vision.model.param
-
Represents parameters for a BPKB (Buku Pemilik Kendaraan Bermotor) operation.
- BpkbParam(String) - Constructor for class glair.vision.model.param.BpkbParam
-
Constructs a new BpkbParam object with the given image path and default page number.
- BpkbParam(String, int) - Constructor for class glair.vision.model.param.BpkbParam
-
Constructs a new BpkbParam object with the given image path and page number.
- build() - Method in class glair.vision.model.param.IdentityFaceVerificationParam.Builder
-
Build an IdentityVerificationParam object.
- build() - Method in class glair.vision.model.param.IdentityVerificationParam.Builder
-
Build an IdentityVerificationParam object.
- build() - Method in class glair.vision.model.Request.RequestBuilder
-
Builds a new instance of an HTTP request with the configured options.
- build() - Method in class glair.vision.model.VisionSettings.Builder
-
Builds a new instance of VisionSettings with the configured options.
- Builder() - Constructor for class glair.vision.model.param.IdentityFaceVerificationParam.Builder
- Builder() - Constructor for class glair.vision.model.param.IdentityVerificationParam.Builder
- Builder() - Constructor for class glair.vision.model.VisionSettings.Builder
C
- checkFileExist(String) - Static method in class glair.vision.util.Util
-
Checks if a file exists at the specified file path.
- config - Variable in class glair.vision.model.BaseSessions
-
The configuration settings used for session operations.
- config() - Method in class glair.vision.Vision
-
Get the configuration settings for the Vision SDK.
- Config - Class in glair.vision.api
-
The Config class provides configuration settings for the Glair Vision API.
- Config(VisionSettings) - Constructor for class glair.vision.api.Config
-
Constructs a Config instance based on the provided VisionSettings.
- create(T) - Method in class glair.vision.model.BaseSessions
-
Creates a session with the provided parameters using default configuration settings.
- create(T, VisionSettings) - Method in class glair.vision.model.BaseSessions
-
Creates a session with the provided parameters using custom configuration settings.
- createBody(ActiveLivenessSessionsParam) - Method in class glair.vision.api.sessions.ActiveLivenessSessions
- createBody(KtpSessionsParam) - Method in class glair.vision.api.sessions.KtpSessions
- createBody(T) - Method in class glair.vision.model.BaseSessions
-
Creates the body of the session request based on the provided parameters.
- createFormData() - Static method in class glair.vision.util.Util
-
Creates and returns a new instance of
MultipartBody.Builderconfigured for forming HTTP multipart requests with form data. - CRLF - Static variable in class glair.vision.util.Base64
-
Encoder flag bit to indicate lines should be terminated with a CRLF pair instead of just an LF.
D
- dateOfBirth(String) - Method in class glair.vision.model.param.IdentityFaceVerificationParam.Builder
-
Sets the date of birth of the individual.
- dateOfBirth(String) - Method in class glair.vision.model.param.IdentityVerificationParam.Builder
-
Sets the date of birth of the individual.
- debug(Object...) - Method in class glair.vision.logger.Logger
-
Log a debug message.
- DEBUG - Static variable in class glair.vision.logger.LoggerConfig
-
Represents the DEBUG log level.
- decode(byte[], int) - Static method in class glair.vision.util.Base64
-
Decode the Base64-encoded data in input and return the data in a new byte array.
- decode(byte[], int, int, int) - Static method in class glair.vision.util.Base64
-
Decode the Base64-encoded data in input and return the data in a new byte array.
- decode(String, int) - Static method in class glair.vision.util.Base64
-
Decode the Base64-encoded data in input and return the data in a new byte array.
- DEFAULT - Static variable in class glair.vision.util.Base64
-
Default values for encoder/decoder flags.
E
- encode(byte[], int) - Static method in class glair.vision.util.Base64
-
Base64-encode the given data and return a newly allocated byte[] with the result.
- encode(byte[], int, int, int) - Static method in class glair.vision.util.Base64
-
Base64-encode the given data and return a newly allocated byte[] with the result.
- encodeToString(byte[], int) - Static method in class glair.vision.util.Base64
-
Base64-encode the given data and return a newly allocated String with the result.
- encodeToString(byte[], int, int, int) - Static method in class glair.vision.util.Base64
-
Base64-encode the given data and return a newly allocated String with the result.
- Env - Class in glair.vision.util
-
The `Env` class provides access to configuration properties loaded from a file.
- Env() - Constructor for class glair.vision.util.Env
-
Constructs an `Env` instance and loads configuration properties from the default file.
- Env(String, boolean) - Constructor for class glair.vision.util.Env
-
Constructs an `Env` instance with the option to print the absolute path of the properties file.
- error(Object...) - Method in class glair.vision.logger.Logger
-
Log an error message.
- ERROR - Static variable in class glair.vision.logger.LoggerConfig
-
Represents the ERROR log level.
F
- faceBio() - Method in class glair.vision.Vision
-
Get access to the FaceBio (Face Recognition) functionality of the Vision SDK.
- FaceBio - Class in glair.vision.api
-
The FaceBio class provides methods for performing Face Biometric operations.
- FaceBio(Config) - Constructor for class glair.vision.api.FaceBio
-
Constructs an FaceBio instance with the provided configuration.
- faceImagePath(String) - Method in class glair.vision.model.param.IdentityFaceVerificationParam.Builder
-
Sets the face image path data.
- FaceMatchParam - Class in glair.vision.model.param
-
A class representing parameters for Face Matching.
- FaceMatchParam(String, String) - Constructor for class glair.vision.model.param.FaceMatchParam
-
Constructs a FaceMatchParam object with the specified paths for the captured and stored images.
- faceVerification(IdentityFaceVerificationParam) - Method in class glair.vision.api.Identity
-
Performs face verification using default configuration settings.
- faceVerification(IdentityFaceVerificationParam, VisionSettings) - Method in class glair.vision.api.Identity
-
Performs face verification using custom configuration settings.
- fileToBase64(String) - Static method in class glair.vision.util.Util
-
Converts a file located at the specified path to a Base64-encoded string.
G
- generalDocument(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on a General Document image using default configuration settings.
- generalDocument(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a General Document image using custom configuration settings.
- GestureCode - Enum Class in glair.vision.enums
-
Enum representing gesture codes.
- getApiKey() - Method in class glair.vision.api.Config
-
Gets the API key associated with the configuration.
- getApiKey() - Method in class glair.vision.model.VisionSettings
-
Gets the API key used for authentication with the service.
- getApiKey() - Method in class glair.vision.util.Env
-
Retrieves the api key from the configuration properties.
- getApiVersion() - Method in class glair.vision.model.VisionSettings
-
Gets the API version used for communication with the service.
- getBaseUrl() - Method in class glair.vision.model.BaseSessions
-
Gets the Base URL path.
- getBaseUrl() - Method in class glair.vision.model.VisionSettings
-
Gets the base URL for the vision-related service.
- getBasicAuth() - Method in class glair.vision.api.Config
-
Gets the Basic Authentication string for HTTP requests.
- getBody() - Method in class glair.vision.model.Request
-
Gets the HTTP request body, if present.
- getBpkb() - Method in class glair.vision.util.Env
-
Retrieves the BPKB image path from the configuration properties.
- getCancelUrl() - Method in class glair.vision.model.param.sessions.BaseSessionsParam
-
Gets the cancel URL for the session.
- getCapturedPath() - Method in class glair.vision.model.param.FaceMatchParam
-
Gets the file path of the captured image.
- getConfig() - Method in class glair.vision.api.Config
-
Gets a reference to the current Config instance.
- getConfig(VisionSettings) - Method in class glair.vision.api.Config
-
Gets a new Config instance with updated settings based on the provided VisionSettings.
- getDateOfBirth() - Method in class glair.vision.model.param.IdentityFaceVerificationParam
-
Gets the date of birth of the individual.
- getDateOfBirth() - Method in class glair.vision.model.param.IdentityVerificationParam
-
Gets the date of birth of the individual.
- getFace() - Method in class glair.vision.util.Env
-
Retrieves the Face image path from the configuration properties.
- getFaceImagePath() - Method in class glair.vision.model.param.IdentityFaceVerificationParam
-
Gets the face image path data.
- getGeneralDocument() - Method in class glair.vision.util.Env
-
Retrieves the General Document image path from the configuration properties.
- getGestureCode() - Method in class glair.vision.model.param.ActiveLivenessParam
-
Gets the gesture code associated with the ActiveLivenessParam.
- getIdentityBasicVerification() - Method in class glair.vision.util.Env
-
Retrieves the Identity verification data from the configuration properties.
- getIdentityFaceVerification() - Method in class glair.vision.util.Env
-
Retrieves the Identity face image path from the configuration properties.
- getImagePath() - Method in class glair.vision.model.param.ActiveLivenessParam
-
Gets the image path associated with the ActiveLivenessParam.
- getImagePath() - Method in class glair.vision.model.param.BpkbParam
-
Get the path to the image.
- getImagePath() - Method in class glair.vision.model.param.KtpParam
-
Gets the path to the KTP image.
- getInstance() - Static method in class glair.vision.logger.Logger
-
Get the singleton instance of the logger.
- getInvoice() - Method in class glair.vision.util.Env
-
Retrieves the Invoice image path from the configuration properties.
- getKk() - Method in class glair.vision.util.Env
-
Retrieves the KK image path from the configuration properties.
- getKtp() - Method in class glair.vision.util.Env
-
Retrieves the KTP image path from the configuration properties.
- getLicensePlate() - Method in class glair.vision.util.Env
-
Retrieves the License Plate image path from the configuration properties.
- getLogLevel() - Method in class glair.vision.logger.Logger
-
Get the current log level.
- getLogLevel() - Method in class glair.vision.logger.LoggerConfig
-
Get the log level.
- getLogPattern() - Method in class glair.vision.logger.LoggerConfig
-
Get the log pattern.
- getMethod() - Method in class glair.vision.model.Request
-
Gets the HTTP method (e.g., GET, POST) of the request.
- getName() - Method in class glair.vision.model.param.IdentityFaceVerificationParam
-
Gets the name of the individual.
- getName() - Method in class glair.vision.model.param.IdentityVerificationParam
-
Gets the name of the individual.
- getNik() - Method in class glair.vision.model.param.IdentityFaceVerificationParam
-
Gets the NIK (Nomor Induk Kependudukan).
- getNik() - Method in class glair.vision.model.param.IdentityVerificationParam
-
Gets the NIK (Nomor Induk Kependudukan).
- getNpwp() - Method in class glair.vision.util.Env
-
Retrieves the NPWP image path from the configuration properties.
- getNumberOfGestures() - Method in class glair.vision.model.param.sessions.ActiveLivenessSessionsParam
-
Gets the number of gestures for the Active Liveness session.
- getPage() - Method in class glair.vision.model.param.BpkbParam
-
Get the page number.
- getPassport() - Method in class glair.vision.util.Env
-
Retrieves the Passport image path from the configuration properties.
- getPassword() - Method in class glair.vision.model.VisionSettings
-
Gets the password used for authentication with the service (if applicable).
- getPassword() - Method in class glair.vision.util.Env
-
Retrieves the password from the configuration properties.
- getPath() - Method in class glair.vision.model.Request
-
Gets the path of the HTTP request.
- getPattern() - Method in class glair.vision.logger.Logger
-
Get the log pattern.
- getQualitiesDetector() - Method in class glair.vision.model.param.KtpParam
-
Gets the qualities detector setting.
- getQualitiesDetector() - Method in class glair.vision.model.param.sessions.KtpSessionsParam
-
Gets whether the image should be checked for quality during the KTP session.
- getReceipt() - Method in class glair.vision.util.Env
-
Retrieves the Receipt image path from the configuration properties.
- getSessionType() - Method in class glair.vision.model.BaseSessions
-
Gets the session type.
- getSettings() - Method in class glair.vision.api.Config
-
Gets the VisionSettings associated with the configuration.
- getStnk() - Method in class glair.vision.util.Env
-
Retrieves the STNK image path from the configuration properties.
- getStoredPath() - Method in class glair.vision.model.param.FaceMatchParam
-
Gets the file path of the stored image for comparison.
- getSuccessUrl() - Method in class glair.vision.model.param.sessions.BaseSessionsParam
-
Gets the success URL for the session.
- getUrl(String) - Method in class glair.vision.api.Config
-
Constructs a full URL by combining the base URL and the given path.
- getUsername() - Method in class glair.vision.model.VisionSettings
-
Gets the username used for authentication with the service (if applicable).
- getUsername() - Method in class glair.vision.util.Env
-
Retrieves the username from the configuration properties.
- glair.vision - package glair.vision
- glair.vision.api - package glair.vision.api
- glair.vision.api.sessions - package glair.vision.api.sessions
- glair.vision.enums - package glair.vision.enums
- glair.vision.logger - package glair.vision.logger
- glair.vision.model - package glair.vision.model
- glair.vision.model.param - package glair.vision.model.param
- glair.vision.model.param.sessions - package glair.vision.model.param.sessions
- glair.vision.util - package glair.vision.util
H
- HAND_00000 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_00000.
- HAND_01000 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_01000.
- HAND_01100 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_01100.
- HAND_01110 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_01110.
- HAND_01111 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_01111.
- HAND_10000 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_10000.
- HAND_11000 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_11000.
- HAND_11001 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_11001.
- HAND_11111 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HAND_11111.
- HEAD_00 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_00.
- HEAD_01 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_01.
- HEAD_10 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_10.
- HEAD_11 - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_11.
- HEAD_CLOSE_MOUTH - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_CLOSE_MOUTH.
- HEAD_DOWN - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_DOWN.
- HEAD_LEFT - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_LEFT.
- HEAD_OPEN_MOUTH - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_OPEN_MOUTH.
- HEAD_RIGHT - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_RIGHT.
- HEAD_UP - Enum constant in enum class glair.vision.enums.GestureCode
-
Represents a hand gesture with code HEAD_UP.
I
- identity() - Method in class glair.vision.Vision
-
Get access to the Identity functionality of the Vision SDK.
- Identity - Class in glair.vision.api
-
The Identity class provides methods for performing Identity Verification operations.
- Identity(Config) - Constructor for class glair.vision.api.Identity
-
Constructs an Identity instance with the provided configuration.
- IdentityFaceVerificationParam - Class in glair.vision.model.param
-
Represents parameters for performing identity verification with face image.
- IdentityFaceVerificationParam.Builder - Class in glair.vision.model.param
-
Builder class for constructing IdentityFaceVerificationParam object.
- IdentityVerificationParam - Class in glair.vision.model.param
-
Represents parameters for identity verification.
- IdentityVerificationParam.Builder - Class in glair.vision.model.param
-
Builder class for constructing IdentityVerificationParam object.
- info(Object...) - Method in class glair.vision.logger.Logger
-
Log an info message.
- INFO - Static variable in class glair.vision.logger.LoggerConfig
-
Represents the INFO log level.
- invoice(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on an Invoice image using default configuration settings.
- invoice(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on an Invoice image using custom configuration settings.
J
- Json - Class in glair.vision.util
-
Utility class for working with JSON data and formatting.
- Json() - Constructor for class glair.vision.util.Json
K
- kk(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on an KK image using default configuration settings.
- kk(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on an KK image using custom configuration settings.
- ktp(KtpParam) - Method in class glair.vision.api.Ocr
-
Perform OCR on a KTP image using default configuration settings.
- ktp(KtpParam, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a KTP image using custom configuration settings.
- KtpParam - Class in glair.vision.model.param
-
The `KtpParam` class represents parameters for processing a KTP.
- KtpParam(String) - Constructor for class glair.vision.model.param.KtpParam
-
Constructs a `KtpParam` instance with the specified image path and default qualities detector setting.
- KtpParam(String, Boolean) - Constructor for class glair.vision.model.param.KtpParam
-
Constructs a `KtpParam` instance with the specified image path and qualities detector setting.
- ktpSessions() - Method in class glair.vision.api.Ocr
-
Get access to KTP Sessions related operations.
- KtpSessions - Class in glair.vision.api.sessions
-
Represents a session for KTP (Kartu Tanda Penduduk) operations.
- KtpSessions(Config) - Constructor for class glair.vision.api.sessions.KtpSessions
-
Constructs a KtpSessions instance with the provided configuration.
- KtpSessionsParam - Class in glair.vision.model.param.sessions
-
Represents the parameters for a KTP (Kartu Tanda Penduduk) session.
- KtpSessionsParam(String) - Constructor for class glair.vision.model.param.sessions.KtpSessionsParam
-
Constructs a KtpSessionsParam instance with the specified success URL.
L
- label - Variable in enum class glair.vision.enums.GestureCode
-
The label associated with the gesture code.
- licensePlate(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on a License Plate image using default configuration settings.
- licensePlate(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a License Plate image using custom configuration settings.
- logger - Static variable in class glair.vision.model.BaseSessions
-
The logger instance used for logging within this class and its subclasses.
- Logger - Class in glair.vision.logger
-
A simple logger class for logging messages with various log levels and a customizable log pattern.
- LoggerConfig - Class in glair.vision.logger
-
Configuration for the logger.
- LoggerConfig() - Constructor for class glair.vision.logger.LoggerConfig
-
Constructs a new logger configuration with the default log level and pattern.
- LoggerConfig(int) - Constructor for class glair.vision.logger.LoggerConfig
-
Constructs a new logger configuration with a custom log level and the default log pattern.
- LoggerConfig(int, String) - Constructor for class glair.vision.logger.LoggerConfig
-
Constructs a new logger configuration with custom log level and log pattern.
- LoggerConfig(String) - Constructor for class glair.vision.logger.LoggerConfig
-
Constructs a new logger configuration with a custom log pattern and the default log level.
- LoggerConfig(String, int) - Constructor for class glair.vision.logger.LoggerConfig
-
Constructs a new logger configuration with custom log level and log pattern.
M
- main(String[]) - Static method in class glair.vision.logger.Logger
-
Main method for testing the logger.
- match(FaceMatchParam) - Method in class glair.vision.api.FaceBio
-
Performs Face Match using default configuration settings.
- match(FaceMatchParam, VisionSettings) - Method in class glair.vision.api.FaceBio
-
Performs Face Match using custom configuration settings.
N
- name(String) - Method in class glair.vision.model.param.IdentityFaceVerificationParam.Builder
-
Sets the name of the individual.
- name(String) - Method in class glair.vision.model.param.IdentityVerificationParam.Builder
-
Sets the name of the individual.
- nik(String) - Method in class glair.vision.model.param.IdentityFaceVerificationParam.Builder
-
Sets the NIK (Nomor Induk Kependudukan).
- nik(String) - Method in class glair.vision.model.param.IdentityVerificationParam.Builder
-
Sets the NIK (Nomor Induk Kependudukan).
- NO_CLOSE - Static variable in class glair.vision.util.Base64
-
Flag to pass to {Base64OutputStream} to indicate that it should not close the output stream it is wrapping when it itself is closed.
- NO_PADDING - Static variable in class glair.vision.util.Base64
-
Encoder flag bit to omit the padding '=' characters at the end of the output (if any).
- NO_WRAP - Static variable in class glair.vision.util.Base64
-
Encoder flag bit to omit all line terminators (i.e., the output will be on one long line).
- npwp(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on an NPWP image using default configuration settings.
- npwp(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on an NPWP image using custom configuration settings.
- npwpSessions() - Method in class glair.vision.api.Ocr
-
Get access to NPWP Sessions related operations.
- NpwpSessions - Class in glair.vision.api.sessions
-
Represents a session for NPWP operations.
- NpwpSessions(Config) - Constructor for class glair.vision.api.sessions.NpwpSessions
-
Represents a session for NPWP operations.
O
- ocr() - Method in class glair.vision.Vision
-
Get access to the OCR functionality of the Vision SDK.
- Ocr - Class in glair.vision.api
-
The Ocr class provides methods for performing Optical Character Recognition (OCR) operations.
- Ocr(Config) - Constructor for class glair.vision.api.Ocr
-
Constructs an Ocr instance with the provided configuration.
P
- passiveLiveness(String) - Method in class glair.vision.api.FaceBio
-
Perform Passive Liveness detection using default configuration settings.
- passiveLiveness(String, VisionSettings) - Method in class glair.vision.api.FaceBio
-
Perform Passive Liveness detection using custom configuration settings.
- passiveLivenessSessions() - Method in class glair.vision.api.FaceBio
-
Get access to Passive Liveness Sessions related operations.
- PassiveLivenessSessions - Class in glair.vision.api.sessions
-
Represents a session for Passive Liveness operations.
- PassiveLivenessSessions(Config) - Constructor for class glair.vision.api.sessions.PassiveLivenessSessions
-
Represents a session for Passive Liveness operations.
- passport(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on a Passport image using default configuration settings.
- passport(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a Passport image using custom configuration settings.
- password(String) - Method in class glair.vision.model.VisionSettings.Builder
-
Sets the password for authentication with the service (if applicable).
- printLoggerConfig() - Method in class glair.vision.Vision
-
Print the current logger configuration to the standard output.
R
- receipt(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on a Receipt image using default configuration settings.
- receipt(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on a Receipt image using custom configuration settings.
- Request - Class in glair.vision.model
-
Represents an HTTP request configuration.
- Request.RequestBuilder - Class in glair.vision.model
-
Builder class for creating instances of HTTP request configurations.
- RequestBuilder(String, String) - Constructor for class glair.vision.model.Request.RequestBuilder
-
Constructs a new request builder with the specified path and HTTP method.
- require(String, String) - Static method in class glair.vision.util.Util
-
Checks if a value is null and throws an exception if it is.
- retrieve(String) - Method in class glair.vision.model.BaseSessions
-
Retrieves a session with the specified session ID using default configuration settings.
- retrieve(String, VisionSettings) - Method in class glair.vision.model.BaseSessions
-
Retrieves a session with the specified session ID using custom configuration settings.
S
- sessionType - Variable in class glair.vision.model.BaseSessions
-
The type of the session, e.g., "KTP".
- setCancelUrl(String) - Method in class glair.vision.model.param.sessions.BaseSessionsParam
-
Sets the cancel URL for the session.
- setLogLevel(int) - Method in class glair.vision.logger.Logger
-
Set the log level.
- setNumberOfGestures(int) - Method in class glair.vision.model.param.sessions.ActiveLivenessSessionsParam
-
Sets the number of gestures for the Active Liveness session.
- setPattern(String) - Method in class glair.vision.logger.Logger
-
Set the log pattern.
- setQualitiesDetector(boolean) - Method in class glair.vision.model.param.sessions.KtpSessionsParam
-
Sets whether the image should be checked for quality during the KTP session.
- stnk(String) - Method in class glair.vision.api.Ocr
-
Perform OCR on an STNK image using default configuration settings.
- stnk(String, VisionSettings) - Method in class glair.vision.api.Ocr
-
Perform OCR on an STNK image using custom configuration settings.
T
- toJsonString(String, String) - Static method in class glair.vision.util.Json
-
Formats a single key-value pair into a JSON string.
- toJsonString(HashMap<String, String>) - Static method in class glair.vision.util.Json
-
Formats a map of key-value pairs into a JSON string.
- toJsonString(HashMap<String, String>, int) - Static method in class glair.vision.util.Json
-
Formats a map of key-value pairs into a JSON string with indentation.
- toString() - Method in class glair.vision.api.Config
-
Returns a JSON representation of the configuration.
- toString() - Method in class glair.vision.logger.Logger
-
Get a string representation of the logger configuration.
- toString() - Method in class glair.vision.model.param.ActiveLivenessParam
-
Returns a JSON representation of the ActiveLivenessParam.
- toString() - Method in class glair.vision.model.param.BpkbParam
-
Generate a JSON representation of the parameter object.
- toString() - Method in class glair.vision.model.param.FaceMatchParam
-
Returns a JSON representation of the FaceMatchParam.
- toString() - Method in class glair.vision.model.param.IdentityFaceVerificationParam
-
Generates a JSON representation of the parameters.
- toString() - Method in class glair.vision.model.param.IdentityVerificationParam
-
Generate a JSON representation of the parameters.
- toString() - Method in class glair.vision.model.param.KtpParam
-
Returns a string representation of the `KtpParam` object.
- toString() - Method in class glair.vision.model.param.sessions.ActiveLivenessSessionsParam
-
Returns a JSON representation of the Active Liveness session parameters.
- toString() - Method in class glair.vision.model.param.sessions.BaseSessionsParam
-
Returns a JSON representation of the session parameters.
- toString() - Method in class glair.vision.model.param.sessions.KtpSessionsParam
-
Returns a JSON representation of the KTP session parameters.
- trimAll(String) - Static method in class glair.vision.util.Util
-
Removes all whitespace from a string.
U
- URL_SAFE - Static variable in class glair.vision.util.Base64
-
Encoder/decoder flag bit to indicate using the "URL and filename safe" variant of Base64 (see RFC 3548 section 4) where
-and_are used in place of+and/. - username(String) - Method in class glair.vision.model.VisionSettings.Builder
-
Sets the username for authentication with the service (if applicable).
- Util - Class in glair.vision.util
-
Utility class for common operations and HTTP requests.
- Util() - Constructor for class glair.vision.util.Util
V
- valueOf(String) - Static method in enum class glair.vision.enums.GestureCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class glair.vision.enums.GestureCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verification(IdentityVerificationParam) - Method in class glair.vision.api.Identity
-
Performs basic identity verification using default configuration settings.
- verification(IdentityVerificationParam, VisionSettings) - Method in class glair.vision.api.Identity
-
Performs basic identity verification using custom configuration settings.
- version - Static variable in class glair.vision.Vision
-
Represents the version of the software/library.
- Vision - Class in glair.vision
-
The main entry point for interacting with the Vision SDK.
- Vision(VisionSettings) - Constructor for class glair.vision.Vision
-
Constructs a Vision instance with the given vision settings
- Vision(VisionSettings, LoggerConfig) - Constructor for class glair.vision.Vision
-
Constructs a Vision instance with the given vision settings and optional logger configuration.
- visionFetch(Config, Request) - Static method in class glair.vision.util.Util
-
Performs an HTTP request and fetches data from a specified endpoint.
- VisionSettings - Class in glair.vision.model
-
Represents configuration settings for a vision-related service.
- VisionSettings.Builder - Class in glair.vision.model
-
A builder class for creating instances of VisionSettings with specific configurations.
W
- warn(Object...) - Method in class glair.vision.logger.Logger
-
Log a warning message.
- WARN - Static variable in class glair.vision.logger.LoggerConfig
-
Represents the WARN log level.
All Classes and Interfaces|All Packages|Constant Field Values