apply #
Applies the new mapping to the collection.
apply([options], [callback]) #
| Arguments | Type | Description |
|---|---|---|
options | JSON Object | Optional parameters |
callback | function | Optional callback |
Options #
| Option | Type | Description | Default |
|---|---|---|---|
queuable | boolean | Make this request queuable or not | true |
Return Value #
Returns this CollectionMapping object to allow chaining.
Callback Response #
Returns the updated CollectionMapping object.
Usage #
dataMapping.apply(new ResponseListener<CollectionMapping>() {
@Override
public void onSuccess(CollectionMapping object) {
// called once the mapping action has been completed
}
@Override
public void onError(JSONObject error) {
// Handle error
}
});