Package 

Class ResolveOneLinkTask

  • All Implemented Interfaces:
    java.util.concurrent.Callable , kotlin.Comparable

    
    public final class ResolveOneLinkTask
    extends HttpTask<Map<String, String>>
                        

    Resolves a short OneLink URL back to its attribution params — the inverse of CreateOneLinkTask.

    Accepts standard *.onelink.me subdomains (e.g. https://myapp.onelink.me/abc123/summer24) and custom branded domains registered in the OneLink template (e.g. https://links.myapp.com/abc123/summer24, surfaced via isBranded). Used when the app handles an incoming deeplink and needs the marketing context (pid, c, deep_link_value, af_sub*, …) to route the user to the correct screen. Callers MUST check isShortLinkValid first; invalid URIs short-circuit without firing the listener.

    Delivered via OneLinkDataListener: parsed params on success, original long URL via onGetOneLinkParametersError on failure — letting the customer fall back to the unresolved link. shouldCancelOnSdkStopped = false per RD-62332.

    Customer entry point: AFDeepLinkManager.handleDeepLinkCallback.