public Observable<ServiceResponse<MatchResponse>> matchFileInputWithServiceResponseAsync(byte[] imageStream, MatchFileInputOptionalParameter matchFileInputOptionalParameter) {
        if (this.client.baseUrl() == null) {
            throw new IllegalArgumentException("Parameter this.client.baseUrl() is required and cannot be null.");
        }
        if (imageStream == null) {
            throw new IllegalArgumentException("Parameter imageStream is required and cannot be null.");
        }
        final String listId = matchFileInputOptionalParameter != null ? matchFileInputOptionalParameter.listId() : null;
        final Boolean cacheImage = matchFileInputOptionalParameter != null ? matchFileInputOptionalParameter.cacheImage() : null;

        return matchFileInputWithServiceResponseAsync(imageStream, listId, cacheImage);
    }
public Observable < ServiceResponse < MatchResponse > > matchFileInputWithServiceResponseAsync ( byte [ ] imageStream , MatchFileInputOptionalParameter matchFileInputOptionalParameter ) { if ( this . client . baseUrl ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.baseUrl() is required and cannot be null." ) ; } if ( imageStream == null ) { throw new IllegalArgumentException ( "Parameter imageStream is required and cannot be null." ) ; } final String listId = matchFileInputOptionalParameter != null ? matchFileInputOptionalParameter . listId ( ) : null ; final Boolean cacheImage = matchFileInputOptionalParameter != null ? matchFileInputOptionalParameter . cacheImage ( ) : null ; return matchFileInputWithServiceResponseAsync ( imageStream , listId , cacheImage ) ; }
Fuzzily match an image against one of your custom Image Lists. You can create and manage your custom image lists using &lt;a href="/docs/services/578ff44d2703741568569ab9/operations/578ff7b12703741568569abe"&gt;this&lt;/a&gt; API.
Returns ID and tags of matching image.&lt;br/&gt;
&lt;br/&gt;
Note: Refresh Index must be run on the corresponding Image List before additions and removals are reflected in the response.

@param imageStream The image file.
@param matchFileInputOptionalParameter the object representing the optional parameters to be set before calling this API
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the MatchResponse object