Closing or Hiding the Plugin
Closing the Plugin
var session_id = 123;
OzLiveness.open({
// We transfer the arbitrary meta data, by which we can later identify the session in Oz API
meta: {
session_id: session_id
},
// After sending the data, forcibly close the plugin window and independently request the result
on_submit: function() {
OzLiveness.close();
my_result_function(session_id);
}
});Hiding the Plugin Window without Cancelling the Callbacks
Last updated
Was this helpful?
