Terms And Conditions
To use our services you have to accept our latest Terms And Conditions.
Get the latest version
Client requirements
API call
- iOS (Swift)
- Android (Java)
trustfactorClient.getLatestTermsAndConditions({ result, correlationId in
switch result {
case .success(let termsAndConditions):
// handle success
case .failure(let error):
// handle error
}
})
trustFactorClient.getLatestTermsAndConditions(new Result<TFTermsAndConditions, Error>() {
@Override
public void onSuccess(TFTermsAndConditions termsAndConditions, String correlationId) {
// handle success
}
@Override
public void onFailure(Error error, String correlationId) {
// handle error
}
});
Get Content
Client requirements
- Registered Device
- Authenticated Device (Not required if the device is not yet registered)
- Associated Profiles
API call
- iOS (Swift)
- Android (Java)
trustFactorClient.getTermsAndConditionsContent(<TFTermsAndConditions>) { result, correlationId in
switch result {
case .success(let content):
// handle success
case .failure(let error):
// handle error
}
}
termsAndConditions.getTermsAndConditionsContent(termsAndConditions: <TFTermsAndConditions>, new GetLatestTACResult.OnTaskCompleted<String>() {
@Override
public void onSuccess(String htmlContent) {
// handle success
}
@Override
public void onFailure(Error error) {
// handle error
}
};
Accept
caution
If the device is not yet registered this method will perform acceptance validation upon registration.
Client requirements
- Registered Device
- Authenticated Device (Not required if the device is not yet registered)
- Associated Profiles
API call
- iOS (Swift)
- Android (Java)
trustFactorClient.acceptTermsAndConditions(<TFTermsAndConditions>, content: <TFTermsAndConditions.Content>) { result, correlationId in
switch result {
case .success:
// handle success
case .failure(let error):
// handle error
}
}
trustFactorClient.acceptTermsAndConditions(termsAndConditions: <TFTermsAndConditions>, content: <TFTermsAndConditions.Content>, new Result<Bool, Error>() {
@Override
public void onSuccess(Boolean value, String correlationId) {
// value is a boolean we can ignore
}
@Override
public void onFailure(Error error, String correlationId) {
// handle error
}
};