Get all the Devices associated with an Application Profile
Client requirements
API call
- iOS (Swift)
- Android (Java)
trustfactorClient.getApplicationProfileAssociatedDevices(for: [<TFApplicationProfile.RawIdentifier>]) { result, correlationId in
switch result {
case .success(let applicationProfileDevicesList):
// handle success
case .failure(let error):
// handle errors
}
}
trustfactorClient.getApplicationProfileAssociatedDevices(profilesIDs: <List<String>>, new Result<HashMap<String, TFApplicationProfileDevice>, Error>() {
@Override
public void onSuccess(HashMap<String, TFApplicationProfileDevice> result, String correlationId) {
// Result type: HashMap<String, TFApplicationProfileDevice>
}
@Override
public void onFailure(Error error, String correlationId) {
// handle errors
}
});