語言

DeviceAdminInfo.HeadlessDeviceOwnerModeAffiliated 欄位

定義

警告

This constant will be removed in the future version. Use Android.App.Admin.HeadlessDeviceOwnerMode enum directly instead of this field.

該值 #getHeadlessDeviceOwnerMode 表示該 DPC 在無頭系統使用者模式裝置上應配置為「關聯」模式。

[Android.Runtime.Register("HEADLESS_DEVICE_OWNER_MODE_AFFILIATED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.HeadlessDeviceOwnerMode enum directly instead of this field.", true)]
public const Android.App.Admin.HeadlessDeviceOwnerMode HeadlessDeviceOwnerModeAffiliated = 1;
[<Android.Runtime.Register("HEADLESS_DEVICE_OWNER_MODE_AFFILIATED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.HeadlessDeviceOwnerMode enum directly instead of this field.", true)>]
val mutable HeadlessDeviceOwnerModeAffiliated : Android.App.Admin.HeadlessDeviceOwnerMode

欄位值

Value = 1

實作

屬性

備註

該值 #getHeadlessDeviceOwnerMode 表示該 DPC 在無頭系統使用者模式裝置上應配置為「關聯」模式。

此模式會為除裝置擁有者所屬使用者以外的所有使用者新增一個設定檔擁有者。

從 Android 版本 android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM開始,DPC 應在「headless-system-user」標籤中將屬性「headless-device-owner-mode」設為「affiliated」。

Java 文件 android.app.admin.DeviceAdminInfo.HEADLESS_DEVICE_OWNER_MODE_AFFILIATED

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

適用於