code: @Deprecated
      public String[] getDetectableCharsets() {
          List<String> csnames = new ArrayList<String>(ALL_CS_RECOGNIZERS.size());
          for (int i = 0; i < ALL_CS_RECOGNIZERS.size(); i++) {
              CSRecognizerInfo rcinfo = ALL_CS_RECOGNIZERS.get(i);
              boolean active = (fEnabledRecognizers == null) ? rcinfo.isDefaultEnabled : fEnabledRecognizers[i];
              if (active) {
                  csnames.add(rcinfo.recognizer.getName());
              }
          }
          return csnames.toArray(new String[csnames.size()]);
      }
docs: Get the names of charsets that can be recognized by this CharsetDetector instance.
  
  @return an array of the names of charsets that can be recognized by this CharsetDetector
  instance.
  
  @deprecated This API is ICU internal only.
  @hide draft / provisional / internal are hidden on Android