Capturing Videos
Last updated
Was this helpful?
Last updated
Was this helpful?
To start recording, use thestartActivityForResult
method:
actions
– a list of while recording video.
For Fragment, use the code below. LivenessFragment
is the Fragment representation of the Liveness screen UI.
To obtain the captured video, use theonActivityResult
method:
If a user closes the capturing screen manually, resultCode
receives the Activity.RESULT_CANCELED
value.
Code example:
sdkMediaResult
– an object with video capturing results for interactions with Oz API (a list of the objects),
sdkErrorString
– description of , if any.