LunaID

object LunaID

Types

Link copied to clipboard
sealed class Event
Link copied to clipboard
class FinishCancelledData(val videoPath: String?)
Link copied to clipboard
sealed class FinishFailedData
Link copied to clipboard
sealed class FinishResult
Link copied to clipboard
class FinishSuccessData(val bestShot: BestShot, val videoPath: String?)
Link copied to clipboard
sealed class InteractionState
Link copied to clipboard
Link copied to clipboard
interface LunaState
Link copied to clipboard
data class ShowCameraParams(val disableErrors: Boolean = DISABLE_ERRORS_DEFAULT, val recordVideo: Boolean = RECORD_VIDEO_DEFAULT, val ignoreVideoWithoutFace: Boolean = IGNORE_VIDEO_WITHOUT_FACE_DEFAULT, val logToFile: Boolean = LOG_TO_FILE_DEFAULT) : Parcelable

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun allEvents(): Flow<LunaID.Event>
Link copied to clipboard
Link copied to clipboard
fun init(app: Application, lunaConfig: LunaConfig, areDescriptorsEnabled: Boolean = false, apiHumanConfig: ApiHumanConfig? = null, onlineLivenessSettings: LivenessSettings = LivenessSettingsAlwaysDisabled)
Link copied to clipboard
Link copied to clipboard
fun showCamera(context: Context, params: LunaID.ShowCameraParams = ShowCameraParams(), interactions: Interactions = Interactions())

Launches camera screen.