Setup Voice Verification
Accura Voice Biometrics
Api Setup
AndroidNetworking.upload(url)
.addMultipartFile("sourceone", file1)
.addMultipartFile("sourcetwo", file2)
.addMultipartFile("sourcethree", file3)
.addMultipartFile("target", target)
.setPriority(Priority.HIGH)
.build()
.getAsJSONObject(new JSONObjectRequestListener() {
@Override
public void onResponse(JSONObject response) {
try {
double score = response.getDouble("score");
} catch (JSONException e) {
e.printStackTrace();
}
}
@Override
public void onError(ANError error) {
error.printStackTrace();
}
});
Last updated