HsdpDeepLinkService

public interface HsdpDeepLinkService

com.google.android.play.core.hsdp.service.HsdpDeepLinkService


The interface to start the Google Play inline install flow with persistent affordance.

Summary

Nested classes

interface HsdpDeepLinkService.HsdpDeepLinkServiceListener

Listener for handling events during the Google Play inline install flow. 

Public methods

abstract void open(String targetAppPackageName, String referrer, HsdpDeepLinkService.HsdpDeepLinkServiceListener listener)

Opens the Google Play inline install flow.

abstract void open(String targetAppPackageName, String referrer, HsdpDeepLinkService.HsdpDeepLinkServiceListener listener, Map<StringString> extraQueryParams)

Opens the Google Play inline install flow with extra query parameters.

Public methods

open

public abstract void open (String targetAppPackageName, 
                String referrer, 
                HsdpDeepLinkService.HsdpDeepLinkServiceListener listener)

Opens the Google Play inline install flow.

Parameters
targetAppPackageName String: The package name of the app to install.

referrer String: The referrer tracking string.

listener HsdpDeepLinkService.HsdpDeepLinkServiceListener: The listener for the HSDP/HPOA deep link flow.

open

public abstract void open (String targetAppPackageName, 
                String referrer, 
                HsdpDeepLinkService.HsdpDeepLinkServiceListener listener, 
                Map<StringString> extraQueryParams)

Opens the Google Play inline install flow with extra query parameters.

Parameters
targetAppPackageName String: The package name of the app to install.

referrer String: The referrer tracking string.

listener HsdpDeepLinkService.HsdpDeepLinkServiceListener: The listener for the inline install flow.

extraQueryParams Map: The extra query params to append on the deep link URL.