DeepLinkResult

Overview

DeepLinkResult is a public class that holds the result of the OneLink retrieval operation. If successful, it holds the deep link data.

Methods

getDeepLink

public DeepLink getDeepLink()

Returns

Type

Remarks

DeepLink

An object that holds the OneLink deep link data.

getStatus

public DeepLinkResult.Status getStatus()

Returns

Type

Remarks

Status

An enum describing the possible results from the OneLink data retrieval operation.

getError

public DeepLinkResult.Error getError()

Returns

Type

Remarks

Error

An enum describing the possible errors that can occur during the OneLink data retrieval operation.

Variables

Status

public static enum Status

Constants

Type

Name

Remarks

byte

FOUND

Unified Deep Linking API found a match to this deep linking or deferred deep linking click.

The OneLink deep link data is in a DeepLink object retrieved by getDeepLink().

byte

NOT_FOUND

Unified Deep Linking API did not find a match to this deep linking or deferred deep linking click.

The onDeepLinking() method should exit.

byte

ERROR

Unified Deep Linking API encountered an error while trying to find a match to this deep linking or deferred deep linking click, or during the OneLink data retrieval.

Get Error enum using getError() to check which error occurred.

Error

public static enum Enum

Constants

Type

Name

Remarks

byte

TIMEOUT

Unified Deep Linking API didn’t find deferred deep link within specified timeframe.

byte

NETWORK

Unable to access the network. Not related to AppFlyer SDK.

byte

HTTP_STATUS_CODE

Unified Deep Linking API got a response from the AppsFlyer server other than 200 (success).

byte

UNEXPECTED

Unified Deep Linking API encountered an error other than the errors above.

Updated 14 days ago


DeepLinkResult


Suggested Edits are limited on API Reference Pages

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