processDeeplinkWithOverrideTimeout method

void processDeeplinkWithOverrideTimeout(
  1. String? path,
  2. double timeout,
  3. KochavaTrackerDeeplinkCallback deeplinkCallback
)

Process an enhanced deeplink using the specified override timeout in seconds.

Implementation

void processDeeplinkWithOverrideTimeout(String? path, double timeout,
    KochavaTrackerDeeplinkCallback deeplinkCallback) {
  try {
    _deeplinkCallbackCount += 1;
    String id = _deeplinkCallbackCount.toString();
    _deeplinkCallbacks[id] = deeplinkCallback;
    _channel.invokeMethod(
        "processDeeplink", {"id": id, "path": path, "timeout": timeout});
  } catch (e) {
    print("Kochava/Tracker/Flutter Error: processDeeplink: $e");
  }
}