ProfileInstallerInitializer


class ProfileInstallerInitializer : 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 functions

ProfileInstallerInitializer.Result
create(context: Context)
(Mutable)List<Class<Initializer<Any!>!>!>

Initializer has no dependencies.

Public constructors

ProfileInstallerInitializer

Added in 1.0.0
ProfileInstallerInitializer()

Public functions

create

Added in 1.0.0
fun create(context: Context): ProfileInstallerInitializer.Result
Returns
ProfileInstallerInitializer.Result

Result immediately.

dependencies

Added in 1.0.0
fun dependencies(): (Mutable)List<Class<Initializer<Any!>!>!>

Initializer has no dependencies.