目录

DeeplinkClient

Class Info

public class DeeplinkClient

Obtains a deep link.

Public Constructor Summary

Constructor Name

DeeplinkClient(Context context, OnDeeplinkAcquiredListener listener)

Constructor of a deep link request.

Public Method Summary

Qualifier and Type

Method Name and Description

void

request()

Obtains the deep link from the install referrer information of AppGallery and calls the OnDeeplinkAcquiredListener.launchDeeplink() method.

If launchDeeplink() returns false, the ads-installreferrer SDK opens the deep linked content.

If launchDeeplink() returns true, the advertiser opens the deep linked content.

Public Constructors

[h2]DeeplinkClient

Constructor

public DeeplinkClient(Context context, OnDeeplinkAcquiredListener listener)

Constructor of a deep link request.

Parameters

Name

Description

context

Context.

listener

Listener for deep link acquisition.

Public Methods

[h2]request

Method

public void request()

Obtains the deep link from the install referrer information of AppGallery and calls the OnDeeplinkAcquiredListener.launchDeeplink() method.

If launchDeeplink() returns false, the ads-installreferrer SDK opens the deep linked content.

If launchDeeplink() returns true, the advertiser opens the deep linked content.

After the request method is called for the first time, the request will be recorded so that the next call will not trigger OnDeeplinkAcquiredListener.launchDeeplink().