HsdpDeepLinkServiceFactory


@Keep
public final class HsdpDeepLinkServiceFactory


Entry point for triggering the Google Play inline install flow with persistent affordance.

Summary

Public methods

static HsdpDeepLinkService
@Keep
create(Activity activity)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app.

static HsdpDeepLinkService
@Keep
create(Context context)

Creates the entry point for triggering the Google Play inline install flow from the client app.

static HsdpDeepLinkService
@Keep
create(Activity activity, boolean enableLoadingPanel)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app.

static HsdpDeepLinkService
@Keep
create(
    Activity activity,
    boolean enableLoadingPanel,
    boolean useServiceBasedHsdp
)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app.

Public methods

create

@Keep
public static HsdpDeepLinkService create(Activity activity)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app. It will use activity based HSDP UI without loading panel.

Parameters
Activity activity

The activity to start the Google Play inline install deep link flow and used as the host to show the persistent affordance.

create

@Keep
public static HsdpDeepLinkService create(Context context)

Creates the entry point for triggering the Google Play inline install flow from the client app.

Parameters
Context context

The context to create the HSDP deep link service. It could be an Activity or a non-Activity context. If non-Activity context is used, a shim activity will be used to trigger the service based HSDP UI without the persistent affordance.

create

@Keep
public static HsdpDeepLinkService create(Activity activity, boolean enableLoadingPanel)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app. It will use activity based HSDP UI.

Parameters
Activity activity

The activity to start the Google Play inline install deep link flow and used as the host to show the persistent affordance.

boolean enableLoadingPanel

Whether to enable the loading panel.

create

@Keep
public static HsdpDeepLinkService create(
    Activity activity,
    boolean enableLoadingPanel,
    boolean useServiceBasedHsdp
)

Creates the entry point for triggering the Google Play inline install flow with persistent affordance from the client app.

Parameters
Activity activity

The activity to start the Google Play inline install deep link flow and used as the host to show the persistent affordance.

boolean enableLoadingPanel

Whether to enable the loading panel.

boolean useServiceBasedHsdp

Whether to enable the service based HSDP UI.