Package-level declarations

Types

Link copied to clipboard
class ApiHuman(val conf: ApiHumanConfig)
Link copied to clipboard
data class ApiHumanConfig(baseUrl: String, val headers: Map<String, String> = emptyMap(), val connectivityManager: ConnectivityManager? = null)
Link copied to clipboard
interface ApiRetrofit
Link copied to clipboard
interface ApiV6

Interface describing Luna Web APIv6.

Link copied to clipboard
class AuthConfig(val extractHandlerId: String = "", val identifyHandlerId: String = "", val verifierHandlerId: String = "")

Api configuration

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonQualifier
annotation class BooleanType
Link copied to clipboard
class ConnectivityInterceptor(connectivityManager: ConnectivityManager) : Interceptor
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CreateImageResponse(@Json(name = "image_id") val imageId: String, @Json(name = "url") val url: String)

Image creation response model.

Link copied to clipboard
class ErrorWrapperInterceptor : Interceptor
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class EventGenerateResponse(@Json(name = "events") val events: List<Event> = emptyList(), @Json(name = "filtered_detections") val filteredDetections: FilteredDetections?, @Json(name = "images") val images: List<Image> = emptyList())
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ImageResponse(@Json(name = "image_id") val imageId: String, @Json(name = "url") val url: String, @Json(name = "external_url") val externalUrl: String)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class LivenessResponse(@Json(name = "aggregate_estimations") val aggregateEstimations: AggregateEstimations?, @Json(name = "images") val images: List<Image> = emptyList())
Link copied to clipboard
class ResponseProcessor<Response>(call: Call<Response>, callback: Consumer<Result<Response>>?)
Link copied to clipboard
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class VerifyResponse(@Json(name = "images") val images: List<Image> = emptyList())