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.

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

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,
    boolean sdkManagedConfigurationChanges,
    boolean enableHpoa
)

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.

create

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

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.

boolean sdkManagedConfigurationChanges

Whether the SDK should manage configuration changes automatically.

create

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

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. Default is false (only set to true if you want the SDK to render a loading overlay).

boolean useServiceBasedHsdp

Whether to enable the service-based HSDP UI. Set to true for modern service-based HSDP, or false for legacy activity-based HSDP.

boolean sdkManagedConfigurationChanges

Whether the SDK should manage configuration changes automatically. Default is false.

boolean enableHpoa

Whether to enable HPOA overlay after HSDP dismissal.