appInForeground

abstract val appInForeground: Boolean?

The app foreground status:

  • true: foreground – directly launch UI (TrustCertificateActivity) and show notification (if possible)

  • false: background – only show notification (if possible)

  • null: non-interactive mode – don't show notification or launch activity