DeviceAdminInfo.HeadlessDeviceOwnerModeSingleUser 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_SINGLE_USER", ApiSince=35)]
[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 HeadlessDeviceOwnerModeSingleUser = 2;
[<Android.Runtime.Register("HEADLESS_DEVICE_OWNER_MODE_SINGLE_USER", ApiSince=35)>]
[<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 HeadlessDeviceOwnerModeSingleUser : Android.App.Admin.HeadlessDeviceOwnerMode
欄位值
Value = 2實作
- 屬性
備註
該值 #getHeadlessDeviceOwnerMode 表示該 DPC 應在無頭系統使用者模式裝置上配置至第一次級使用者。
此模式僅允許裝置上有單一次要使用者,阻止建立其他次要使用者。
從 Android 版本 android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM開始,DPC 應在「headless-system-user」標籤中將屬性「headless-device-owner-mode」設為「single_user」。
Java 文件 android.app.admin.DeviceAdminInfo.HEADLESS_DEVICE_OWNER_MODE_SINGLE_USER。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。