code: public static String getPromptMessageOrNull(Intent intent) {
      if (intent == null) return null;
      return intent.getStringExtra(Intents.Scan.PROMPT_MESSAGE);
    }
docs: Get prompt message from {@code Intent}.
  @param intent Target intent. It can be {@code null}.