Context.BindPackageIsolatedProcess 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.
標記 #bindIsolatedService:將服務綁定為共享的獨立程序,但僅限於與同一套件中宣告相同程序名稱的其他孤立服務綁定。
[Android.Runtime.Register("BIND_PACKAGE_ISOLATED_PROCESS", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)]
public const Android.Content.Bind BindPackageIsolatedProcess = 16384;
[<Android.Runtime.Register("BIND_PACKAGE_ISOLATED_PROCESS", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindPackageIsolatedProcess : Android.Content.Bind
欄位值
Value = 16384- 屬性
備註
標記 #bindIsolatedService:將服務綁定為共享的獨立程序,但僅限於與同一套件中宣告相同程序名稱的其他孤立服務綁定。
指定此標誌可允許同一套件中定義的多個隔離服務在單一共享隔離程序中同時執行。 必須指定這個共享隔離程序,因為此旗標無法與預設的應用程式程序相容。
此旗標不同 #BIND_SHARED_ISOLATED_PROCESS 於它只允許同一套件在相同共享隔離程序中綁定服務。 這也代表共享套件的隔離程序是全域的,且不會針對每個潛在呼叫應用程式進行範圍限制。
共享的孤立程序實例由服務定義的「android:process」屬性來識別。 此標誌若未設定此屬性,無法使用。
Java 文件 android.content.Context.BIND_PACKAGE_ISOLATED_PROCESS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。