References
This page contains references for possible error codes, object structure, etc. Most of this can be obtained from the javadoc/clicking into code via Android Studio, but it is also provided here as a reference.
SmartCapture Face Result
Whether the Face Camera was launched via activity or via composition, its success case result is returned as a FaceCameraResult
.
data class FaceCameraResult(
val encryptedBlob: ByteArray,
val previewPhoto: Bitmap
)
The encryptedBlob
is what should get sent to the server, while the previewPhoto
can be used for on-device preview. It is not recommended to use the previewPhoto
for any secure use cases.