WipeDataFlag
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
用於控制刪除裝置時資料清除行為的旗標。根據預設,所有使用者資料和恢復原廠設定保護資料都會清除。
列舉 |
WIPE_DATA_FLAG_UNSPECIFIED |
系統會忽略這個值。 |
PRESERVE_RESET_PROTECTION_DATA |
保留裝置上的恢復原廠設定保護機制資料。 |
WIPE_EXTERNAL_STORAGE |
此外,請一併清除裝置的外部儲存空間 (例如 SD 卡)。 |
WIPE_ESIMS |
如果是公司擁有的裝置,系統會在抹除裝置資料時移除所有 eSIM 卡。在個人裝置上,這項操作會移除裝置上透過 ADD_ESIM 指令新增的受管理 eSIM 卡,但不會移除個人擁有的 eSIM 卡。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# WipeDataFlag\n\nFlags used to control data wiping behavior when a device is deleted. By default all user data and factory reset protection data is wiped.\n\n| Enums ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `WIPE_DATA_FLAG_UNSPECIFIED` | This value is ignored. |\n| `PRESERVE_RESET_PROTECTION_DATA` | Preserve the factory reset protection data on the device. |\n| `WIPE_EXTERNAL_STORAGE` | Additionally wipe the device's external storage (such as SD cards). |\n| `WIPE_ESIMS` | For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the [`ADD_ESIM`](/android/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType.ENUM_VALUES.ADD_ESIM) command) on the devices and no personally owned eSIMs will be removed. |"]]