共用方式為


ServiceInfo.FlagAllowSharedIsolatedProcess 欄位

定義

警告

This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.

位: #flags如果設定,而這是 android.R.attr#isolatedProcess 服務,則允許服務與其他隔離服務系結在共用隔離進程中。

[Android.Runtime.Register("FLAG_ALLOW_SHARED_ISOLATED_PROCESS", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ServiceInfoFlags FlagAllowSharedIsolatedProcess = 16;
[<Android.Runtime.Register("FLAG_ALLOW_SHARED_ISOLATED_PROCESS", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagAllowSharedIsolatedProcess : Android.Content.PM.ServiceInfoFlags

欄位值

Value = 16

實作

屬性

備註

位: #flags如果設定,而這是 android.R.attr#isolatedProcess 服務,則允許服務與其他隔離服務系結在共用隔離進程中。 請注意,這些其他隔離的服務也可以屬於來自不同廠商的其他應用程式。

在服務系結期間使用 android.content.Context#BIND_SHARED_ISOLATED_PROCESS 時,會建立共用隔離進程。

請注意,使用這個旗標時,{@link android。當進程系結至用戶端的共用隔離進程時,會忽略 R.attr#process 屬性。

android.content.pm.ServiceInfo.FLAG_ALLOW_SHARED_ISOLATED_PROCESSJava 檔。

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

適用於