LocalSdkActivityLauncher


public interface LocalSdkActivityLauncher extends SdkActivityLauncher

Known direct subclasses
LocalManagedSdkActivityLauncher

This class is deprecated. This library is no longer supported.

LocalUnmanagedSdkActivityLauncher

This class is deprecated. This library is no longer supported.


Local version of SdkActivityLauncher that allows callers in the app process to dispose the launcher resources.

Summary

Public methods

abstract void

Clears references used to launch activities.

Inherited methods

From androidx.privacysandbox.activity.core.SdkActivityLauncher
abstract boolean
launchSdkActivity(@NonNull IBinder sdkActivityHandlerToken)

This method is deprecated. This library is no longer supported.

Public methods

dispose

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
abstract void dispose()

Clears references used to launch activities.

After this method is called, all further attempts to launch activities wil be rejected, and LocalSdkActivityLauncher.launchSdkActivity will return 'false'.

Doesn't do anything if the launcher was already disposed of.