ProfileInstallerInitializer


public class ProfileInstallerInitializer implements Initializer


Startup library initializer that installs an AOT profile several seconds after launch. During application startup this will schedule background profile installation several seconds later. At the scheduled time, a background thread will be created to install the profile. You can disable this initializer and call writeProfile yourself to control the threading behavior. To disable this initializer add the following to your manifest:


 If you disable the initializer, ensure that writeProfile is called within a few (5-10) seconds of your app starting up.
    

Summary

Nested types

Empty result class for ProfileInstaller.

Public constructors

Public methods

@NonNull ProfileInstallerInitializer.Result
@NonNull List<Class<Initializer<Object>>>

Initializer has no dependencies.

Public constructors

ProfileInstallerInitializer

Added in 1.0.0
public ProfileInstallerInitializer()

Public methods

create

Added in 1.0.0
public @NonNull ProfileInstallerInitializer.Result create(@NonNull Context context)
Returns
@NonNull ProfileInstallerInitializer.Result

Result immediately.

dependencies

Added in 1.0.0
public @NonNull List<Class<Initializer<Object>>> dependencies()

Initializer has no dependencies.