DeepLinkResult

Overview

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

Go back to the SDK reference index.

Methods

getDeepLink

public DeepLink getDeepLink()

Returns

TypeRemarks
DeepLinkAn object that holds the OneLink deep link data.

getStatus

public DeepLinkResult.Status getStatus()

Returns

TypeRemarks
StatusAn enum describing the possible results from the OneLink data retrieval operation.

getError

public DeepLinkResult.Error getError()

Returns

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

Variables

Status

public static enum Status

Constants

TypeNameRemarks
byteFOUNDUnified 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().
byteNOT_FOUNDUnified Deep Linking API did not find a match to this deep linking or deferred deep linking click.

The onDeepLinking() method should exit.
byteERRORUnified 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 Error

Constants

TypeNameRemarks
byteTIMEOUTUnified Deep Linking API didn’t find deferred deep link within specified timeframe.
byteNETWORKUnable to access the network. Not related to AppsFlyer SDK.
byteHTTP_STATUS_CODEUnified Deep Linking API got a response from the AppsFlyer server other than 200 (success).
byteUNEXPECTEDUnified Deep Linking API encountered an error other than the errors above.