Expand description
File activation is data delivery, never route navigation. See docs/documents.md.
Functions§
- forward_
launch_ args - Deliver the launch arguments a second copy of the app forwarded to this one (docs/deep-links.md “Single-instance forwarding”): the files, URLs and routes it was started with arrive as if this process had been launched with them, and the app’s front window comes forward. Backend-facing; call on the UI thread.
- launch_
link - The link a launcher shortcut for
routepasses on a desktop command line (--day-open-url <link>):<scheme>://<route>with the app’s URL scheme, whichday buildhands the binary asDAY_APP_SCHEME, else the bare route. Either form reaches the route through the deep-link intake. - on_
open_ files - Install the application’s file-open handler. Called on the UI thread; pending cold-start activations are delivered on the next UI turn. Register once in the application root.
- request_
open_ files - Platform intake, callable before launch and from worker threads. Locators must be local paths or file URLs (mobile providers stage granted content before calling this).