AppsFlyerLib

Overview

AppsFlyerLib is the main library for AppsFlyer Android SDK, and hosts most of the methods, including subscribeForDeepLink.

Import the library

import com.appsflyer.AppsFlyerLib;

Use the library

AppsFlyerLib appsflyer = AppsFlyerLib.getInstance();

Methods

subscribeForDeepLink

public void subscribeForDeepLink(DeepLinkListener deepLinkListener)
public void subscribeForDeepLink(DeepLinkListener deepLinkListener, long timeoutInMillis)

Parameters

Type

Name

Remarks

DeepLinkListener

deepLinkListener

A listener class that holds the callback function for when UDL operation completes.

long

timeoutInMillis

[OPTIONAL]

  • Default value is 3 seconds
  • If the time it took for the SDK to return a response is less than value defined in timeoutInMillis, we return Error TIMEOUT in onDeepLinking callback.

Updated about a month ago


AppsFlyerLib


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.