DeviceAdminInfo.HeadlessDeviceOwnerModeSingleUser フィールド

定義

注意事項

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

ヘッドレス システム ユーザー モード デバイスで、この DPC を最初のセカンダリ ユーザーにプロビジョニングする必要があることを示す #getHeadlessDeviceOwnerMode の値。

[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

実装

属性

注釈

ヘッドレス システム ユーザー モード デバイスで、この DPC を最初のセカンダリ ユーザーにプロビジョニングする必要があることを示す #getHeadlessDeviceOwnerMode の値。

このモードでは、デバイス上の 1 人のセカンダリ ユーザーのみが追加のセカンダリ ユーザーの作成をブロックできます。

Android バージョンの android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM以降、DPC では、"headless-system-user" タグ内の属性 "headless-device-owner-mode" の値を "single_user" に設定する必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象