Skip to content

Session Video Upload Status in Android

For Android, you can specify the IVideoEncoderCompletion listener which provides you with a callback that receives transactionId and success (or fail) status on complete uploading.

FaceSDK.Instance().setVideoEncoderCompletion { transactionId, success ->
    Log.d("VideoCompletionItem", "Transaction video: $transactionId success: $success")
}
FaceSDK.Instance().setVideoEncoderCompletion(new IVideoEncoderCompletion() {
    @Override
    public void onVideoRecorded(@NonNull String transactionId, boolean success) {
        Log.d("VideoCompletionItem", "Transaction video: " + transactionId + " success: " + success);
    }
});