daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  liveCamera.privyCameraLiveness(object : PrivyCameraLivenessCallBackListener {
  2.                 override fun failed(params: Throwable?) {
  3.                     Toast.makeText(this@MainActivity, "Error ${params?.localizedMessage}", Toast.LENGTH_LONG).show()
  4.                 }
  5.  
  6.                 override fun success(params: LivenessItem?) {
  7.                     if (params != null) {
  8.                         imageFirst = params.baseImage1
  9.                         imageSecond = params.baseImage2
  10.  
  11.                         kotlin.run {
  12.                             reloadingCapture()
  13.                         }
  14.                     }
  15.                 }
  16.  
  17.             })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top