Share via


IZygotePreload.DoPreload(ApplicationInfo) Method

Definition

This method is called once every time the Application Zygote is started.

[Android.Runtime.Register("doPreload", "(Landroid/content/pm/ApplicationInfo;)V", "GetDoPreload_Landroid_content_pm_ApplicationInfo_Handler:Android.App.IZygotePreloadInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void DoPreload (Android.Content.PM.ApplicationInfo appInfo);
[<Android.Runtime.Register("doPreload", "(Landroid/content/pm/ApplicationInfo;)V", "GetDoPreload_Landroid_content_pm_ApplicationInfo_Handler:Android.App.IZygotePreloadInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member DoPreload : Android.Content.PM.ApplicationInfo -> unit

Parameters

appInfo
ApplicationInfo

The ApplicationInfo object belonging to the application

Attributes

Remarks

This method is called once every time the Application Zygote is started. It is normally started the first time an isolated service that uses it is started. The Application Zygote will be stopped when all isolated services that use it are stopped.

Java documentation for android.app.ZygotePreload.doPreload(android.content.pm.ApplicationInfo).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to