共用方式為


IZygotePreload 介面

定義

這是要針對 < 所 android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName 指定之 類別實作的介面。application>標記。

[Android.Runtime.Register("android/app/ZygotePreload", "", "Android.App.IZygotePreloadInvoker", ApiSince=29)]
public interface IZygotePreload : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/app/ZygotePreload", "", "Android.App.IZygotePreloadInvoker", ApiSince=29)>]
type IZygotePreload = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
屬性
實作

備註

這是要針對 < 所 android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName 指定之 類別實作的介面。application>標記。

它負責預先載入應用程式程式代碼和數據,所有具有 android.R.styleable#AndroidManifestService_useAppZygote android:useAppZygote < 屬性的隔離服務都會共用。service>標記設定為 true

請注意,這個類別的實作必須提供沒有自變數的預設建構函式。

android.app.ZygotePreloadJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

屬性

Handle

取得基礎 Android 物件的 JNI 值。

(繼承來源 IJavaObject)
JniIdentityHashCode

傳回包裝實例的 值 java.lang.System.identityHashCode()

(繼承來源 IJavaPeerable)
JniManagedPeerState

受控對等的狀態。

(繼承來源 IJavaPeerable)
JniPeerMembers

成員存取和調用支援。

(繼承來源 IJavaPeerable)
PeerReference

JniObjectReference 回已包裝 Java 物件實例的 。

(繼承來源 IJavaPeerable)

方法

Disposed()

處置實例時呼叫。

(繼承來源 IJavaPeerable)
DisposeUnlessReferenced()

如果這個實例沒有未完成的參考,則呼叫 Dispose(),否則不會執行任何動作。

(繼承來源 IJavaPeerable)
DoPreload(ApplicationInfo)

每次啟動Application Zygote時,都會呼叫這個方法一次。

Finalized()

實例完成時呼叫。

(繼承來源 IJavaPeerable)
SetJniIdentityHashCode(Int32)

設定所 JniIdentityHashCode傳回的值。

(繼承來源 IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates)

這是要針對 < 所 android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName 指定之 類別實作的介面。application>標記。

(繼承來源 IJavaPeerable)
SetPeerReference(JniObjectReference)

設定所 PeerReference傳回的值。

(繼承來源 IJavaPeerable)
UnregisterFromRuntime()

取消註冊此實例,讓運行時間不會從未來的 Java.Interop.JniRuntime+JniValueManager.PeekValue 調用傳回它。

(繼承來源 IJavaPeerable)

擴充方法

JavaCast<TResult>(IJavaObject)

執行 Android 執行時間檢查的類型轉換。

JavaCast<TResult>(IJavaObject)

這是要針對 < 所 android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName 指定之 類別實作的介面。application>標記。

GetJniTypeName(IJavaPeerable)

這是要針對 < 所 android.R.styleable#AndroidManifestApplication_zygotePreloadName android:zygotePreloadName 指定之 類別實作的介面。application>標記。

適用於