activityName

external fun activityName(): Promise<String>(source)

The name of the Android activity hosting this window.

On Android each window is backed by its own activity. Use this to tell windows apart from native code, or to match a window with the activity declared in your AndroidManifest.xml.

Platform-specific

  • Android: Supported.

  • Windows / Linux / macOS / iOS: Unsupported, the call rejects because the command is not registered.

See the mobile multiwindow guide.

Since

2.11.0