語言

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 屬性會被忽略。

Java 文件 android.content.pm.ServiceInfo.FLAG_ALLOW_SHARED_ISOLATED_PROCESS。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於