public Request getSettingsAsync(@NonNull CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getSettingsSync();
            }
        }.start();
    }
public Request getSettingsAsync(@NonNull CompletionHandler completionHandler) {
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return getSettingsSync();
            }
        }.start();
    }
public Request getSettingsAsync ( @ NonNull CompletionHandler completionHandler ) { return getClient ( ) . new AsyncTaskRequest ( completionHandler ) { @ NonNull @ Override protected JSONObject run ( ) throws AlgoliaException { return getSettingsSync ( ) ; } } . start ( ) ; }
Get this index's settings (asynchronously).

@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.
Get this index s settings ( asynchronously ) .