code: public ServiceFuture<LanguageBatchResult> detectLanguageAsync(DetectLanguageOptionalParameter detectLanguageOptionalParameter, final ServiceCallback<LanguageBatchResult> serviceCallback) {
          return ServiceFuture.fromResponse(detectLanguageWithServiceResponseAsync(detectLanguageOptionalParameter), serviceCallback);
      }
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
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object