code: public Observable<LanguageBatchResult> detectLanguageAsync(DetectLanguageOptionalParameter detectLanguageOptionalParameter) {
          return detectLanguageWithServiceResponseAsync(detectLanguageOptionalParameter).map(new Func1<ServiceResponse<LanguageBatchResult>, LanguageBatchResult>() {
              @Override
              public LanguageBatchResult call(ServiceResponse<LanguageBatchResult> response) {
                  return response.body();
              }
          });
      }
docs: The API returns the detected language and a numeric score between 0 and 1.
  Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.
  
  @param detectLanguageOptionalParameter 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 LanguageBatchResult object