-
public final class DeepLinksModuleDeep links module namespace.
-
-
Field Summary
Fields Modifier and Type Field Description private volatile SuspendFunction2<String, Map<String, String>, Boolean>asyncShouldOpen
-
Method Summary
Modifier and Type Method Description final SuspendFunction2<String, Map<String, String>, Boolean>getAsyncShouldOpen()SPEC-070-C D10 — OPTIONAL async shouldOpenwrapper-veto.final UnitsetAsyncShouldOpen(SuspendFunction2<String, Map<String, String>, Boolean> asyncShouldOpen)SPEC-070-C D10 — OPTIONAL async shouldOpenwrapper-veto.final UnithandleURL(String url)Handle an incoming deep link URL. final UnitsetDelegate(AppDNADeepLinkDelegate delegate)Set a delegate for deep link events. -
-
Method Detail
-
getAsyncShouldOpen
final SuspendFunction2<String, Map<String, String>, Boolean> getAsyncShouldOpen()
SPEC-070-C D10 — OPTIONAL async
shouldOpenwrapper-veto. This is a NET-NEW decision point (no native deep-link veto existed). When set (the Flutter plugin), handleURL awaits it before dispatching the deep link; afalsereply skips processing entirely. Null for native hosts → dispatch synchronously exactly as before.
-
setAsyncShouldOpen
final Unit setAsyncShouldOpen(SuspendFunction2<String, Map<String, String>, Boolean> asyncShouldOpen)
SPEC-070-C D10 — OPTIONAL async
shouldOpenwrapper-veto. This is a NET-NEW decision point (no native deep-link veto existed). When set (the Flutter plugin), handleURL awaits it before dispatching the deep link; afalsereply skips processing entirely. Null for native hosts → dispatch synchronously exactly as before.
-
handleURL
final Unit handleURL(String url)
Handle an incoming deep link URL. Parses the URL, extracts parameters, and notifies the listener.
- Parameters:
url- The deep link URL to handle.
-
setDelegate
final Unit setDelegate(AppDNADeepLinkDelegate delegate)
Set a delegate for deep link events.
-
-
-
-