目录

API说明

文档下载

MDM能力API说明文档下载:

中文版:华为MDM能力SDK API接口 (EMUI 4.1–HarmonyOS 4.0).pdf

英文版:HUAWEI MDM Engine SDK APIs (EMUI 4.1–HarmonyOS 4.0).pdf

说明

本文档唯一获取来源为华为开发者联盟,由开发者联盟负责解释和维护。其他来源的文档,完整性和兼容性得不到保证。

最新版本

[h2]14.0.0.300(2024-01-31)

新增特性

修改特性

历史版本

[h2]13.1.0.300(2023-08-21)

新增特性

修改特性

[h2]13.0.0.310(2023-01-28)

新增特性

修改特性

删除特性

[h2]11.1.0.300(2021-06-18)

新增特性

修改特性

删除特性

[h2]11.0.0.300(2021-01-19)

新增特性

修改特性

删除特性

[h2]EMUI 11.0变更接口列表

类

建议使用接口

废弃接口

DeviceApplicationManager

addInstallPackageBlockList、removeInstallPackageBlockList、getInstallPackageBlockList

addInstallPackageBlackList、removeInstallPackageBlackList、getInstallPackageBlackList

DeviceBluetoothManager

addBluetoothDevicesToBlockList、addBluetoothDevicesToTrustList、removeBluetoothDevicesFromBlockList、removeBluetoothDevicesFromTrustList、getBluetoothDevicesFromBlockList、getBluetoothDevicesFromTrustList、isDeviceInBlockList、isDeviceInTrustList

addBluetoothDevicesToBlackList、addBluetoothDevicesToWhiteList、removeBluetoothDevicesFromBlackList、removeBluetoothDevicesFromWhiteList、getBluetoothDevicesFromBlackLists、getBluetoothDevicesFromWhiteLists、isBlackListedDevice、isWhiteListedDevice

DeviceEmailManager

getAccountsTrustListDisablingAddition、getAccountsBlockListAllowingAddition、getAccountsTrustListDisablingDeletion、getAccountsBlockListAllowingDeletion

getAccountsWhiteListDisablingAddition、getAccountsBlackListAllowingAddition、getAccountsWhiteListDisablingDeletion、getAccountsBlackListAllowingDeletion

DeviceHwSystemManager

getSuperTrustListForHwSystemManger、setSuperTrustListForHwSystemManger、removeSuperTrustListForHwSystemManger、addEnterpriseTrustList、getEnterpriseTrustList、removeEnterpriseTrustList

getSuperWhiteListForHwSystemManger、setSuperWhiteListForHwSystemManger、removeSuperWhiteListForHwSystemManger、addEnterpriseWhiteList、getEnterpriseWhiteList、removeEnterpriseWhiteList

DeviceNetworkManager

addNetworkList、removeNetworkList、getNetworkList、addNetworkAccessBlockList、removeNetworkAccessBlockList、getNetworkAccessBlockList

addNetworkAccessWhitelist、removeNetworkAccessWhitelist、getNetworkAccessWhitelist、addNetworkAccessBlackList、removeNetworkAccessBlackList、getNetworkAccessBlackList

DevicePackageManager

getInstallPackageSourceTrustList、addInstallPackageTrustList、removeInstallPackageTrustList、getInstallPackageTrustList

getInstallPackageSourceWhiteList、addInstallPackageWhiteList、removeInstallPackageWhiteList、getInstallPackageWhiteList

DeviceWifiPolicyManager

addSsidToBlockList、removeSsidFromBlockList、getSsidBlockList、isBlockListedSsid、addSsidToTrustList、removeSsidFromTrustList、getSsidTrustList

addSSIDToBlackList、removeSSIDFromBlackList、getSSIDBlackList、isBlackListedSSID、addSSIDToWhiteList、removeSSIDFromWhiteList、getSSIDWhiteList

[h2]10.1.0.300(2020-07-27)

新增特性

新增禁止通过SD卡升级、禁用系统多窗口功能、开启/关闭手动截屏、设置禁用全屏窗口下的状态栏、禁止/允许亮屏下按电源键休眠、禁用/启用VPN密码编辑框的查看功能、禁用/启用滑动锁屏。

[h2]10.0.1.300(2019-12-20)

新增特性

新增禁用/启用电话号码显示功能、禁用/启用省电模式、开启/关闭Device Admin deprecated APIs功能。