def detect_language(text_content_type, text_content, custom_headers:nil)
      response = detect_language_async(text_content_type, text_content, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def detect_language(text_content_type, text_content, custom_headers:nil)
      response = detect_language_async(text_content_type, text_content, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
This operation will detect the language of given input content. Returns the
 <a href="http://www-01.sil.org/iso639-3/codes.asp">ISO 639-3 code</a> for the
 predominant language comprising the submitted text. Over 110 languages
 supported.

 @param text_content_type [Enum] The content type. Possible values include:
 'text/plain', 'text/html', 'text/xml', 'text/markdown'
 @param text_content Content to screen.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [DetectedLanguage] operation results.