code: public DetectedLanguage detectLanguage(String textContentType, byte[] textContent) {
          return detectLanguageWithServiceResponseAsync(textContentType, textContent).toBlocking().single().body();
      }
docs: This operation will detect the language of given input content. Returns the &lt;a href="http://www-01.sil.org/iso639-3/codes.asp"&gt;ISO 639-3 code&lt;/a&gt; for the predominant language comprising the submitted text. Over 110 languages supported.
  
  @param textContentType The content type. Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown'
  @param textContent Content to screen.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws APIErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DetectedLanguage object if successful.