未验证 提交 87d08614 编写于 作者: O openharmony_ci 提交者: Gitee

!21682 新增4.0-beta2 diff报告

Merge pull request !21682 from YanPei/master
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:AuthorizationExtensionAbility;<br>方法or属性:onStartAuthorization(request: AuthorizationRequest, callback: AuthorizationCallback): void;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|新增|NA|类名:AuthorizationRequest;<br>方法or属性:readonly callerUid: number;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|新增|NA|类名:AuthorizationRequest;<br>方法or属性:readonly parameters: appAccount.AccountCapabilityRequest;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|新增|NA|类名:AuthorizationCallback;<br>方法or属性:onResult: AsyncCallback\<appAccount.AccountCapabilityResponse, { [key: string]: object }>;|@ohos.account.appAccount.AuthorizationExtensionAbility.d.ts|
|新增|NA|类名:AccountCapabilityType;<br>方法or属性:AUTHORIZATION = 1|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityProvider;<br>方法or属性:readonly capabilityType: AccountCapabilityType;|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityProvider;<br>方法or属性:constructor(capabilityType: AccountCapabilityType);|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AuthorizationProvider;<br>方法or属性:constructor(info: AuthorizationProviderInfo);|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AuthorizationProviderInfo;<br>方法or属性:readonly bundleName: string;|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AuthorizationProviderInfo;<br>方法or属性:readonly abilityName: string;|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityRequest;<br>方法or属性:constructor(provider: AccountCapabilityProvider);|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityResponse;<br>方法or属性:readonly request: AccountCapabilityRequest;|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityResponse;<br>方法or属性:constructor(request: AccountCapabilityRequest);|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityScheduler;<br>方法or属性:executeRequest(<br> request: AccountCapabilityRequest,<br> callback: AsyncCallback\<AccountCapabilityResponse, { [key: string]: object }><br> ): void;|@ohos.account.appAccount.d.ts|
|新增|NA|类名:AccountCapabilityScheduler;<br>方法or属性:executeRequest(request: AccountCapabilityRequest): Promise\<AccountCapabilityResponse>;|@ohos.account.appAccount.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFile(<br> model: string,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromBuffer(<br> model: ArrayBuffer,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number,<br> context?: Context): Promise\<Model>;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:mindSporeLite;<br>方法or属性:function loadModelFromFd(<br> model: number,<br> context: Context, callback: Callback\<Model>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Model;<br>方法or属性:getInputs(): MSTensor[];|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Model;<br>方法or属性:predict(inputs: MSTensor[], callback: Callback\<MSTensor[]>): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Model;<br>方法or属性:predict(inputs: MSTensor[]): Promise\<MSTensor[]>;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Model;<br>方法or属性:resize(inputs: MSTensor[], dims: Array\<Array\<number>>): boolean;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Context;<br>方法or属性:target?: string[];|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Context;<br>方法or属性:cpu?: CpuDevice;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Context;<br>方法or属性:nnrt?: NNRTDevice;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:CpuDevice;<br>方法or属性:threadNum?: number;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:CpuDevice;<br>方法or属性:threadAffinityMode?: ThreadAffinityMode;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:CpuDevice;<br>方法or属性:threadAffinityCoreList?: number[];|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:CpuDevice;<br>方法or属性:precisionMode?: string;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:ThreadAffinityMode;<br>方法or属性:NO_AFFINITIES = 0|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:ThreadAffinityMode;<br>方法or属性:BIG_CORES_FIRST = 1|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:ThreadAffinityMode;<br>方法or属性:LITTLE_CORES_FIRST = 2|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:name: string;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:shape: number[];|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:elementNum: number;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:dataSize: number;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:dtype: DataType;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:format: Format;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:getData(): ArrayBuffer;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:MSTensor;<br>方法or属性:setData(inputArray: ArrayBuffer): void;|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:TYPE_UNKNOWN = 0|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_INT8 = 32|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_INT16 = 33|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_INT32 = 34|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_INT64 = 35|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_UINT8 = 37|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_UINT16 = 38|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_UINT32 = 39|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_UINT64 = 40|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT16 = 42|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT32 = 43|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:DataType;<br>方法or属性:NUMBER_TYPE_FLOAT64 = 44|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:DEFAULT_FORMAT = -1|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:NCHW = 0|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:NHWC = 1|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:NHWC4 = 2|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:HWKC = 3|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:HWCK = 4|@ohos.ai.mindSporeLite.d.ts|
|新增|NA|类名:Format;<br>方法or属性:KCHW = 5|@ohos.ai.mindSporeLite.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:settings;<br>方法or属性:function getValue(context: Context, name: string, callback: AsyncCallback\<string>): void;|@ohos.settings.d.ts|
|新增|NA|类名:settings;<br>方法or属性:function getValue(context: Context, name: string): Promise\<string>;|@ohos.settings.d.ts|
|新增|NA|类名:settings;<br>方法or属性:function setValue(context: Context, name: string, value: string, callback: AsyncCallback\<boolean>): void;|@ohos.settings.d.ts|
|新增|NA|类名:settings;<br>方法or属性:function setValue(context: Context, name: string, value: string): Promise\<boolean>;|@ohos.settings.d.ts|
|新增|NA|类名:settings;<br>方法or属性:function getValueSync(context: Context, name: string, defValue: string): string;|@ohos.settings.d.ts|
|新增|NA|类名:settings;<br>方法or属性:function setValueSync(context: Context, name: string, value: string): boolean;|@ohos.settings.d.ts|
|废弃版本有变化|类名:settings;<br>方法or属性:function getURI(name: string): Promise\<object>;<br>旧版本信息:|类名:settings;<br>方法or属性:function getURI(name: string): Promise\<object>;<br>新版本信息:9<br>代替接口:|@ohos.settings.d.ts|
|废弃版本有变化|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信息:|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>新版本信息:9<br>代替接口: ohos.settings#getValue|@ohos.settings.d.ts|
|废弃版本有变化|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信息:|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信息:9<br>代替接口: ohos.settings#setValue|@ohos.settings.d.ts|
|新增(错误码)|类名:call;<br>方法or属性:function makeCall(phoneNumber: string): Promise\<void>;<br>旧版本信息:|类名:call;<br>方法or属性:function makeCall(phoneNumber: string): Promise\<void>;<br>新版本信息:401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|访问级别有变化|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信息:|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>旧版本信息:FAModelOnly|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>旧版本信息:|类名:settings;<br>方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:FAModelOnly|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback\<boolean>): void;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>旧版本信息:|类名:settings;<br>方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise\<boolean>;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>旧版本信息:FAModelOnly|类名:settings;<br>方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
|model有变化|类名:settings;<br>方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>旧版本信息:FAModelOnly|类名:settings;<br>方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>新版本信息:famodelonly|@ohos.settings.d.ts|
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:power;<br>方法or属性:function isStandby(): boolean;|@ohos.power.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_INVALID = -17<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_INVALID = -17<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_APP<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_APP<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_IDLE<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_IDLE<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_PHONE<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_PHONE<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_RADIO<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_RADIO<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_SCREEN<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_SCREEN<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_USER<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_USER<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_WIFI<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_WIFI<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:BatteryStatsInfo;<br>方法or属性:uid: number;<br>旧版本信息:|类名:BatteryStatsInfo;<br>方法or属性:uid: number;<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:BatteryStatsInfo;<br>方法or属性:type: ConsumptionType;<br>旧版本信息:|类名:BatteryStatsInfo;<br>方法or属性:type: ConsumptionType;<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
|访问级别有变化|类名:BatteryStatsInfo;<br>方法or属性:power: number;<br>旧版本信息:|类名:BatteryStatsInfo;<br>方法or属性:power: number;<br>新版本信息:systemapi|@ohos.batteryStatistics.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly bundleName: string;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly moduleName: string;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly name: string;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly labelId: number;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly descriptionId: number;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly iconId: number;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly businessType: businessAbilityRouter.BusinessType;|NA|BusinessAbilityInfo.d.ts|
|删除|类名:BusinessAbilityInfo;<br>方法or属性:readonly applicationInfo: ApplicationInfo;|NA|BusinessAbilityInfo.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getBundleInfoForSelfSync(bundleFlags: number): BundleInfo;|@ohos.bundle.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getSpecifiedDistributionType(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getAdditionalInfo(bundleName: string): string;|@ohos.bundle.bundleManager.d.ts|
|新增|NA|类名:ExtensionAbilityType;<br>方法or属性:PUSH = 17|@ohos.bundle.bundleManager.d.ts|
|新增|NA|类名:ExtensionAbilityType;<br>方法or属性:APP_ACCOUNT_AUTHORIZATION = 19|@ohos.bundle.bundleManager.d.ts|
|新增|NA|类名:VerifyCodeParam;<br>方法or属性:moduleName: string;|@ohos.bundle.installer.d.ts|
|新增|NA|类名:VerifyCodeParam;<br>方法or属性:signatureFilePath: string;|@ohos.bundle.installer.d.ts|
|新增|NA|类名:InstallParam;<br>方法or属性:specifiedDistributionType?: string;|@ohos.bundle.installer.d.ts|
|新增|NA|类名:InstallParam;<br>方法or属性:additionalInfo?: string;|@ohos.bundle.installer.d.ts|
|新增|NA|类名:InstallParam;<br>方法or属性:verifyCodeParams?: Array\<VerifyCodeParam>;|@ohos.bundle.installer.d.ts|
|新增|NA|类名:ReqPermissionDetail;<br>方法or属性:moduleName: string;|BundleInfo.d.ts|
|错误码有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|错误码有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|错误码有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>旧版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>新版本信息:201,202,401,17700004,17700010,17700011,17700012,17700015,17700016,17700017,17700018,17700031,17700036,17700039,17700041,17700042,17700043,17700044,17700047,17700048|@ohos.bundle.installer.d.ts|
|错误码有变化|类名:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,900001,900002|类名:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>新版本信息:401,900001,900002,900003|@ohos.zlib.d.ts|
|错误码有变化|类名:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>旧版本信息:401,900001,900002|类名:zlib;<br>方法or属性:function decompressFile(inFile: string, outFile: string, options: Options): Promise\<void>;<br>新版本信息:401,900001,900002,900003|@ohos.zlib.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId: number, callback: AsyncCallback\<Array\<BundleInfo>>): void;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllBundleInfo(bundleFlags: number, userId?: number): Promise\<Array\<BundleInfo>>;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number,<br><br> userId: number, callback: AsyncCallback\<Array\<ApplicationInfo>>): void;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>旧版本信息:ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|类名:bundleManager;<br>方法or属性:function getAllApplicationInfo(appFlags: number, userId?: number): Promise\<Array\<ApplicationInfo>>;<br>新版本信息:ohos.permission.GET_INSTALLED_BUNDLE_LIST|@ohos.bundle.bundleManager.d.ts|
|权限有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>旧版本信息:ohos.permission.INSTALL_BUNDLE|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callback: AsyncCallback\<void>): void;<br>新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|权限有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信息:ohos.permission.INSTALL_BUNDLE|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|权限有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>旧版本信息:ohos.permission.INSTALL_BUNDLE|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Promise\<void>;<br>新版本信息:ohos.permission.INSTALL_BUNDLE,ohos.permission.INSTALL_ENTERPRISE_BUNDLE|@ohos.bundle.installer.d.ts|
|model有变化|类名:AbilityType;<br>方法or属性:PAGE = 1<br>旧版本信息:|类名:AbilityType;<br>方法or属性:PAGE = 1<br>新版本信息:FAModelOnly|@ohos.bundle.bundleManager.d.ts|
|model有变化|类名:AbilityType;<br>方法or属性:SERVICE = 2<br>旧版本信息:|类名:AbilityType;<br>方法or属性:SERVICE = 2<br>新版本信息:FAModelOnly|@ohos.bundle.bundleManager.d.ts|
|model有变化|类名:AbilityType;<br>方法or属性:DATA = 3<br>旧版本信息:|类名:AbilityType;<br>方法or属性:DATA = 3<br>新版本信息:FAModelOnly|@ohos.bundle.bundleManager.d.ts|
|跨平台能力有变化|类名:Metadata;<br>方法or属性:export interface Metadata<br>旧版本信息:|类名:Metadata;<br>方法or属性:export interface Metadata<br>新版本信息:crossplatform|Metadata.d.ts|
|跨平台能力有变化|类名:Metadata;<br>方法or属性:name: string;<br>旧版本信息:|类名:Metadata;<br>方法or属性:name: string;<br>新版本信息:crossplatform|Metadata.d.ts|
|跨平台能力有变化|类名:Metadata;<br>方法or属性:value: string;<br>旧版本信息:|类名:Metadata;<br>方法or属性:value: string;<br>新版本信息:crossplatform|Metadata.d.ts|
|跨平台能力有变化|类名:Metadata;<br>方法or属性:resource: string;<br>旧版本信息:|类名:Metadata;<br>方法or属性:resource: string;<br>新版本信息:crossplatform|Metadata.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:wifiManager;<br>方法or属性:function getScanInfoList(): Array\<WifiScanInfo>;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function updateDeviceConfig(config: WifiDeviceConfig): number;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function disableDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function removeAllDeviceConfigs(): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function removeDeviceConfig(networkId: number): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function getHotspotStations(): Array\<StationInfo>;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function createP2pGroup(config: WifiP2PConfig): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function removeP2pGroup(): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function startDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function stopDiscoverP2pDevices(): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function deletePersistentP2pGroup(netId: number): void;|NA|@ohos.wifiManager.d.ts|
|删除|类名:wifiManager;<br>方法or属性:function setP2pDeviceName(devName: string): void;|NA|@ohos.wifiManager.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:close(): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:close(): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:getState(): Promise\<SocketStateBase>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getState(): Promise\<SocketStateBase>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getProtocol(): Promise\<string>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:send(data: string): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport, callback: AsyncCallback\<void>): void;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function pairCredibleDevice(deviceId: string, transport: BluetoothTransport): Promise\<void>;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function getRemoteProfileUuids(device: string, callback: AsyncCallback\<Array\<ProfileUuids>>): void;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function getRemoteProfileUuids(device: string): Promise\<Array\<ProfileUuids>>;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function getLocalProfileUuids(callback: AsyncCallback\<Array\<ProfileUuids>>): void;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:bluetoothManager;<br>方法or属性:function getLocalProfileUuids(): Promise\<Array\<ProfileUuids>>;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BaseProfile;<br>方法or属性:setConnectionStrategy(device: string, strategy: ConnectionStrategy, callback: AsyncCallback\<void>): void;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BaseProfile;<br>方法or属性:setConnectionStrategy(device: string, strategy: ConnectionStrategy): Promise\<void>;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BaseProfile;<br>方法or属性:getConnectionStrategy(device: string, callback: AsyncCallback\<ConnectionStrategy>): void;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BaseProfile;<br>方法or属性:getConnectionStrategy(device: string): Promise\<ConnectionStrategy>;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:AdvertiseData;<br>方法or属性:includeDeviceName?: boolean;|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BluetoothTransport;<br>方法or属性:TRANSPORT_BR_EDR = 0|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:BluetoothTransport;<br>方法or属性:TRANSPORT_LE = 1|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_UNSUPPORTED = 0|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_ALLOWED = 1|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ConnectionStrategy;<br>方法or属性:CONNECT_STRATEGY_FORBIDDEN = 2|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HFP_AG = '0000111F-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HFP_HF = '0000111E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HSP_AG = '00001112-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HSP_HS = '00001108-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_A2DP_SRC = '0000110A-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_A2DP_SINK = '0000110B-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_AVRCP_CT = '0000110E-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_AVRCP_TG = '0000110C-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HID = '00001124-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:ProfileUuids;<br>方法or属性:PROFILE_UUID_HOGP = '00001812-0000-1000-8000-00805F9B34FB'|@ohos.bluetoothManager.d.ts|
|新增|NA|类名:connection;<br>方法or属性:function getDefaultHttpProxy(callback: AsyncCallback\<HttpProxy>): void;|@ohos.net.connection.d.ts|
|新增|NA|类名:connection;<br>方法or属性:function getDefaultHttpProxy(): Promise\<HttpProxy>;|@ohos.net.connection.d.ts|
|新增|NA|类名:ethernet;<br>方法or属性:type HttpProxy = connection.HttpProxy;|@ohos.net.ethernet.d.ts|
|新增|NA|类名:InterfaceConfiguration;<br>方法or属性:httpProxy?: HttpProxy;|@ohos.net.ethernet.d.ts|
|新增|NA|类名:DiscoveryService;<br>方法or属性:off(type: 'discoveryStart', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:DiscoveryService;<br>方法or属性:off(type: 'discoveryStop', callback?: Callback\<{ serviceInfo: LocalServiceInfo, errorCode?: MdnsError }>): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:DiscoveryService;<br>方法or属性:off(type: 'serviceFound', callback?: Callback\<LocalServiceInfo>): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:DiscoveryService;<br>方法or属性:off(type: 'serviceLost', callback?: Callback\<LocalServiceInfo>): void;|@ohos.net.mdns.d.ts|
|新增|NA|类名:policy;<br>方法or属性:type NetBearType = connection.NetBearType;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setBackgroundAllowed(isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setBackgroundAllowed(isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isBackgroundAllowed(callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isBackgroundAllowed(): Promise\<boolean>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getBackgroundPolicyByUid(uid: number, callback: AsyncCallback\<NetBackgroundPolicy>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getBackgroundPolicyByUid(uid: number): Promise\<NetBackgroundPolicy>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setPolicyByUid(uid: number, policy: NetUidPolicy): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getPolicyByUid(uid: number, callback: AsyncCallback\<NetUidPolicy>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getPolicyByUid(uid: number): Promise\<NetUidPolicy>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getUidsByPolicy(policy: NetUidPolicy, callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getUidsByPolicy(policy: NetUidPolicy): Promise\<Array\<number>>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean, callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isUidNetAllowed(uid: number, isMetered: boolean): Promise\<boolean>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isUidNetAllowed(uid: number, iface: string, callback: AsyncCallback\<boolean>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function isUidNetAllowed(uid: number, iface: string): Promise\<boolean>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\<NetQuotaPolicy>, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setNetQuotaPolicies(quotaPolicies: Array\<NetQuotaPolicy>): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getNetQuotaPolicies(callback: AsyncCallback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getNetQuotaPolicies(): Promise\<Array\<NetQuotaPolicy>>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function updateRemindPolicy(netType: NetBearType, simId: string, remindType: RemindType): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setDeviceIdleTrustlist(uids: Array\<number>, isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setDeviceIdleTrustlist(uids: Array\<number>, isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getDeviceIdleTrustlist(callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getDeviceIdleTrustlist(): Promise\<Array\<number>>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setPowerSaveTrustlist(uids: Array\<number>, isAllowed: boolean, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function setPowerSaveTrustlist(uids: Array\<number>, isAllowed: boolean): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getPowerSaveTrustlist(callback: AsyncCallback\<Array\<number>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function getPowerSaveTrustlist(): Promise\<Array\<number>>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function resetPolicies(simId: string, callback: AsyncCallback\<void>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function resetPolicies(simId: string): Promise\<void>;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function on(type: 'netUidPolicyChange', callback: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function on(type: 'netUidRuleChange', callback: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function on(type: 'netMeteredIfacesChange', callback: Callback\<Array\<string>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function on(type: 'netQuotaPolicyChange', callback: Callback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function on(type: 'netBackgroundPolicyChange', callback: Callback\<boolean>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function off(type: 'netUidPolicyChange', callback?: Callback\<{ uid: number, policy: NetUidPolicy }>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function off(type: 'netUidRuleChange', callback?: Callback\<{ uid: number, rule: NetUidRule }>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function off(type: 'netMeteredIfacesChange', callback?: Callback\<Array\<string>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function off(type: 'netQuotaPolicyChange', callback?: Callback\<Array\<NetQuotaPolicy>>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:policy;<br>方法or属性:function off(type: 'netBackgroundPolicyChange', callback?: Callback\<boolean>): void;|@ohos.net.policy.d.ts|
|新增|NA|类名:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_NONE = 0|@ohos.net.policy.d.ts|
|新增|NA|类名:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_ENABLE = 1|@ohos.net.policy.d.ts|
|新增|NA|类名:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_DISABLE = 2|@ohos.net.policy.d.ts|
|新增|NA|类名:NetBackgroundPolicy;<br>方法or属性:NET_BACKGROUND_POLICY_TRUSTLIST = 3|@ohos.net.policy.d.ts|
|新增|NA|类名:NetQuotaPolicy;<br>方法or属性:networkMatchRule: NetworkMatchRule;|@ohos.net.policy.d.ts|
|新增|NA|类名:NetQuotaPolicy;<br>方法or属性:quotaPolicy: QuotaPolicy;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:periodDuration: string;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:warningBytes: number;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:limitBytes: number;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:metered: boolean;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:limitAction: LimitAction;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:lastWarningRemind?: number;|@ohos.net.policy.d.ts|
|新增|NA|类名:QuotaPolicy;<br>方法or属性:lastLimitRemind?: number;|@ohos.net.policy.d.ts|
|新增|NA|类名:NetworkMatchRule;<br>方法or属性:netType: NetBearType;|@ohos.net.policy.d.ts|
|新增|NA|类名:NetworkMatchRule;<br>方法or属性:identity: string;|@ohos.net.policy.d.ts|
|新增|NA|类名:NetworkMatchRule;<br>方法or属性:simId: string;|@ohos.net.policy.d.ts|
|新增|NA|类名:LimitAction;<br>方法or属性:LIMIT_ACTION_NONE = -1|@ohos.net.policy.d.ts|
|新增|NA|类名:LimitAction;<br>方法or属性:LIMIT_ACTION_ACCESS_DISABLED = 0|@ohos.net.policy.d.ts|
|新增|NA|类名:LimitAction;<br>方法or属性:LIMIT_ACTION_ALERT_ONLY = 1|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_NONE = 0|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_METERED_FOREGROUND = 1 \<\< 0|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_METERED = 1 \<\< 1|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_REJECT_METERED = 1 \<\< 2|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_ALLOW_ALL = 1 \<\< 5|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidRule;<br>方法or属性:NET_RULE_REJECT_ALL = 1 \<\< 6|@ohos.net.policy.d.ts|
|新增|NA|类名:RemindType;<br>方法or属性:REMIND_TYPE_WARNING = 1|@ohos.net.policy.d.ts|
|新增|NA|类名:RemindType;<br>方法or属性:REMIND_TYPE_LIMIT = 2|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidPolicy;<br>方法or属性:NET_POLICY_NONE = 0|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidPolicy;<br>方法or属性:NET_POLICY_ALLOW_METERED_BACKGROUND = 1 \<\< 0|@ohos.net.policy.d.ts|
|新增|NA|类名:NetUidPolicy;<br>方法or属性:NET_POLICY_REJECT_METERED_BACKGROUND = 1 \<\< 1|@ohos.net.policy.d.ts|
|新增|NA|类名:socket;<br>方法or属性:function constructTCPSocketServerInstance(): TCPSocketServer;|@ohos.net.socket.d.ts|
|新增|NA|类名:socket;<br>方法or属性:function constructTLSSocketServerInstance(): TLSSocketServer;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocket;<br>方法or属性:getSocketFd(callback: AsyncCallback\<number>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocket;<br>方法or属性:getSocketFd(): Promise\<number>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:clientId: number;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:clientId: number;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:send(options: TCPSendOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:close(callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:close(callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:getRemoteAddress(callback: AsyncCallback\<NetAddress>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getRemoteAddress(callback: AsyncCallback\<NetAddress>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:on(type: 'message', callback: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:on(type: 'close', callback: Callback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:on(type: 'close', callback: Callback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:off(type: 'message', callback?: Callback\<{ message: ArrayBuffer, remoteInfo: SocketRemoteInfo }>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:off(type: 'close', callback?: Callback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:off(type: 'close', callback?: Callback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketConnection;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:off(type: 'error', callback?: ErrorCallback): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:listen(address: NetAddress, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:listen(address: NetAddress): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:getState(callback: AsyncCallback\<SocketStateBase>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getState(callback: AsyncCallback\<SocketStateBase>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:on(type: 'connect', callback: Callback\<TCPSocketConnection>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TCPSocketServer;<br>方法or属性:off(type: 'connect', callback?: Callback\<TCPSocketConnection>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:send(data: string, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getRemoteCertificate(callback: AsyncCallback\<X509CertRawData>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getCipherSuite(callback: AsyncCallback\<Array\<string>>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketConnection;<br>方法or属性:getSignatureAlgorithms(callback: AsyncCallback\<Array\<string>>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:listen(options: TLSConnectOptions, callback: AsyncCallback\<void>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:listen(options: TLSConnectOptions): Promise\<void>;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getCertificate(callback: AsyncCallback\<X509CertRawData>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:getProtocol(callback: AsyncCallback\<string>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:on(type: 'connect', callback: Callback\<TLSSocketConnection>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:TLSSocketServer;<br>方法or属性:off(type: 'connect', callback?: Callback\<TLSSocketConnection>): void;|@ohos.net.socket.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getIfaceRxBytes(nic: string, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getIfaceRxBytes(nic: string): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getIfaceTxBytes(nic: string, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getIfaceTxBytes(nic: string): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getCellularRxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getCellularRxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getCellularTxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getCellularTxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getAllRxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getAllRxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getAllTxBytes(callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getAllTxBytes(): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getUidRxBytes(uid: number, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getUidRxBytes(uid: number): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getUidTxBytes(uid: number, callback: AsyncCallback\<number>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getUidTxBytes(uid: number): Promise\<number>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function on(type: 'netStatsChange', callback: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function off(type: 'netStatsChange', callback?: Callback\<{ iface: string, uid?: number }>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getTrafficStatsByIface(ifaceInfo: IfaceInfo, callback: AsyncCallback\<NetStatsInfo>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getTrafficStatsByIface(ifaceInfo: IfaceInfo): Promise\<NetStatsInfo>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo, callback: AsyncCallback\<NetStatsInfo>): void;|@ohos.net.statistics.d.ts|
|新增|NA|类名:statistics;<br>方法or属性:function getTrafficStatsByUid(uidInfo: UidInfo): Promise\<NetStatsInfo>;|@ohos.net.statistics.d.ts|
|新增|NA|类名:IfaceInfo;<br>方法or属性:iface: string;|@ohos.net.statistics.d.ts|
|新增|NA|类名:IfaceInfo;<br>方法or属性:startTime: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:IfaceInfo;<br>方法or属性:endTime: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:UidInfo;<br>方法or属性:ifaceInfo: IfaceInfo;|@ohos.net.statistics.d.ts|
|新增|NA|类名:UidInfo;<br>方法or属性:uid: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:NetStatsInfo;<br>方法or属性:rxBytes: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:NetStatsInfo;<br>方法or属性:txBytes: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:NetStatsInfo;<br>方法or属性:rxPackets: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:NetStatsInfo;<br>方法or属性:txPackets: number;|@ohos.net.statistics.d.ts|
|新增|NA|类名:vpn;<br>方法or属性:export type LinkAddress = connection.LinkAddress;|@ohos.net.vpn.d.ts|
|新增|NA|类名:vpn;<br>方法or属性:export type RouteInfo = connection.RouteInfo;|@ohos.net.vpn.d.ts|
|新增|NA|类名:vpn;<br>方法or属性:function createVpnConnection(context: AbilityContext): VpnConnection;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:setUp(config: VpnConfig, callback: AsyncCallback\<number>): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:setUp(config: VpnConfig): Promise\<number>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:protect(socketFd: number, callback: AsyncCallback\<void>): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:protect(socketFd: number): Promise\<void>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConnection;<br>方法or属性:destroy(): Promise\<void>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:addresses: Array\<LinkAddress>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:routes?: Array\<RouteInfo>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:dnsAddresses?: Array\<string>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:searchDomains?: Array\<string>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:mtu?: number;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:isIPv4Accepted?: boolean;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:isIPv6Accepted?: boolean;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:isLegacy?: boolean;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:isBlocking?: boolean;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:trustedApplications?: Array\<string>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:VpnConfig;<br>方法or属性:blockedApplications?: Array\<string>;|@ohos.net.vpn.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getScanResults(): Promise\<Array\<WifiScanInfo>>;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getScanResults(callback: AsyncCallback\<Array\<WifiScanInfo>>): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getScanResultsSync(): Array\<WifiScanInfo>;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function setScanAlwaysAllowed(isScanAlwaysAllowed: boolean): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getScanAlwaysAllowed(): boolean;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function updateNetwork(config: WifiDeviceConfig): number;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function disableNetwork(netId: number): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function removeAllNetwork(): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function removeDevice(id: number): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getDisconnectedReason(): DisconnectedReason;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function getStations(): Array\<StationInfo>;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function createGroup(config: WifiP2PConfig): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function removeGroup(): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function startDiscoverDevices(): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function stopDiscoverDevices(): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function deletePersistentGroup(netId: number): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:wifiManager;<br>方法or属性:function setDeviceName(devName: string): void;|@ohos.wifiManager.d.ts|
|新增|NA|类名:DisconnectedReason;<br>方法or属性:DISC_REASON_DEFAULT = 0|@ohos.wifiManager.d.ts|
|新增|NA|类名:DisconnectedReason;<br>方法or属性:DISC_REASON_WRONG_PWD = 1|@ohos.wifiManager.d.ts|
|新增|NA|类名:DisconnectedReason;<br>方法or属性:DISC_REASON_CONNECTION_FULL = 2|@ohos.wifiManager.d.ts|
|新增|NA|类名:ProxyMethod;<br>方法or属性:METHOD_NONE = 0|@ohos.wifiManager.d.ts|
|新增|NA|类名:ProxyMethod;<br>方法or属性:METHOD_AUTO = 1|@ohos.wifiManager.d.ts|
|新增|NA|类名:ProxyMethod;<br>方法or属性:METHOD_MANUAL = 2|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiProxyConfig;<br>方法or属性:proxyMethod?: ProxyMethod;|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiProxyConfig;<br>方法or属性:pacWebAddress?: string;|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiProxyConfig;<br>方法or属性:serverHostName?: string;|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiProxyConfig;<br>方法or属性:serverPort?: number;|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiProxyConfig;<br>方法or属性:exclusionObjects?: string;|@ohos.wifiManager.d.ts|
|新增|NA|类名:WifiDeviceConfig;<br>方法or属性:proxyConfig?: WifiProxyConfig;|@ohos.wifiManager.d.ts|
|新增|NA|类名:HotspotConfig;<br>方法or属性:ipAddress?: string;|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>新版本信息:201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts|
|新增(错误码)|类名:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>新版本信息:201,401,801,2900001,2900099|@ohos.bluetoothManager.d.ts|
|新增(错误码)|类名:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>新版本信息:201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts|
|新增(错误码)|类名:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>新版本信息:201,401,801,2900001,2901000,2900099|@ohos.bluetoothManager.d.ts|
|新增(错误码)|类名:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>新版本信息:201,401,801,2900099|@ohos.bluetoothManager.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>旧版本信息:|类名:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>旧版本信息:|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信息:201,202,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信息:201,202,401,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:NetHandle;<br>方法or属性:bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\<void>;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:bindSocket(socketParam: TCPSocket \| UDPSocket): Promise\<void>;<br>新版本信息:401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>新版本信息:201,401,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|新增(错误码)|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts|
|新增(错误码)|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts|
|新增(错误码)|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts|
|新增(错误码)|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信息:201,202,2200002,2200003|@ohos.net.ethernet.d.ts|
|新增(错误码)|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>新版本信息:401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts|
|新增(错误码)|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>新版本信息:401,201,2300001,2300003,2300005,2300006,2300007,2300008,2300009,2300016,2300018,2300023,2300025,2300026,2300027,2300028,2300047,2300052,2300055,2300056,2300058,2300059,2300060,2300061,2300063,2300070,2300073,2300077,2300078,2300094,2300999|@ohos.net.http.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信息:201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信息:201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|新增(错误码)|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:401,201,2303198,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:401,2303501,2303505,2303506,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:2303188,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信息:201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信息:2303188,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信息:401,201|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信息:401,2303188,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>新版本信息:2303501,2303504,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>新版本信息:2303501,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>新版本信息:2303501,2303505,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>新版本信息:2303501,2303502,2303505,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>新版本信息:2303501,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>新版本信息:401,2303104,2303109,2303111,2303188,2303191,2303198,2303199,2303210,2303501,2303502,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>新版本信息:401,2303501,2303503,2303505,2303506,2300002|@ohos.net.socket.d.ts|
|新增(错误码)|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:401,201|@ohos.net.webSocket.d.ts|
|新增(错误码)|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>新版本信息:401,201|@ohos.net.webSocket.d.ts|
|新增(错误码)|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>新版本信息:401,201|@ohos.net.webSocket.d.ts|
|新增(错误码)|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:401,201|@ohos.net.webSocket.d.ts|
|新增(错误码)|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>新版本信息:401,201|@ohos.net.webSocket.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信息:201,202,401,801,2501000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信息:201,401,801,2501000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,801,2501000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>新版本信息:201,202,801,2501000,2501001|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>新版本信息:201,801,2801000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>新版本信息:201,801,2801000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>新版本信息:201,801,2801000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>新版本信息:201,801,2801000|@ohos.wifiManager.d.ts|
|新增(错误码)|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信息:201,202,801,2801000|@ohos.wifiManager.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getDefaultNet(callback: AsyncCallback\<NetHandle>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function getDefaultNet(callback: AsyncCallback\<NetHandle>): void;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getDefaultNetSync(): NetHandle;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function getDefaultNetSync(): NetHandle;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getAllNets(callback: AsyncCallback\<Array\<NetHandle>>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function getAllNets(callback: AsyncCallback\<Array\<NetHandle>>): void;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function isDefaultNetMetered(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function isDefaultNetMetered(callback: AsyncCallback\<boolean>): void;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function hasDefaultNet(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function hasDefaultNet(callback: AsyncCallback\<boolean>): void;<br>新版本信息:201,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function enableAirplaneMode(callback: AsyncCallback\<void>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function enableAirplaneMode(callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function disableAirplaneMode(callback: AsyncCallback\<void>): void;<br>旧版本信息:201,2100002,2100003|类名:connection;<br>方法or属性:function disableAirplaneMode(callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getAppNet(callback: AsyncCallback\<NetHandle>): void;<br>旧版本信息:2100002,2100003|类名:connection;<br>方法or属性:function getAppNet(callback: AsyncCallback\<NetHandle>): void;<br>新版本信息:401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getAppNet(): Promise\<NetHandle>;<br>旧版本信息:2100002,2100003|类名:connection;<br>方法or属性:function getAppNet(): Promise\<NetHandle>;<br>新版本信息:401,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getGlobalHttpProxy(callback: AsyncCallback\<HttpProxy>): void;<br>旧版本信息:2100002,2100003|类名:connection;<br>方法or属性:function getGlobalHttpProxy(callback: AsyncCallback\<HttpProxy>): void;<br>新版本信息:401,202,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function getGlobalHttpProxy(): Promise\<HttpProxy>;<br>旧版本信息:2100002,2100003|类名:connection;<br>方法or属性:function getGlobalHttpProxy(): Promise\<HttpProxy>;<br>新版本信息:401,202,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,2100001,2100002,2100003|类名:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\<void>;<br>旧版本信息:201,401,2100001,2100002,2100003|类名:connection;<br>方法or属性:function setGlobalHttpProxy(httpProxy: HttpProxy): Promise\<void>;<br>新版本信息:201,401,202,2100001,2100002,2100003|@ohos.net.connection.d.ts|
|错误码有变化|类名:NetConnection;<br>方法or属性:register(callback: AsyncCallback\<void>): void;<br>旧版本信息:201,2100002,2100003,2101008,2101022|类名:NetConnection;<br>方法or属性:register(callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,2100002,2100003,2101008,2101022|@ohos.net.connection.d.ts|
|错误码有变化|类名:NetConnection;<br>方法or属性:unregister(callback: AsyncCallback\<void>): void;<br>旧版本信息:2100002,2100003,2101007|类名:NetConnection;<br>方法or属性:unregister(callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,2100002,2100003,2101007|@ohos.net.connection.d.ts|
|错误码有变化|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string, callback: AsyncCallback\<InterfaceConfiguration>): void;<br>旧版本信息:201,401,2200001,2200002,2200003,2201005|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string, callback: AsyncCallback\<InterfaceConfiguration>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts|
|错误码有变化|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration, callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201004,2201005,2201006,2201007|@ohos.net.ethernet.d.ts|
|错误码有变化|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:201,401,2200001,2200002,2200003,2201005|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string, callback: AsyncCallback\<number>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003,2201005|@ohos.net.ethernet.d.ts|
|错误码有变化|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信息:201,2200002,2200003|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(callback: AsyncCallback\<Array\<string>>): void;<br>新版本信息:201,202,2200002,2200003|@ohos.net.ethernet.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function isSharingSupported(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:201,2200002,2200003,2202011|类名:sharing;<br>方法or属性:function isSharingSupported(callback: AsyncCallback\<boolean>): void;<br>新版本信息:201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function isSharing(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:201,2200002,2200003,2202011|类名:sharing;<br>方法or属性:function isSharing(callback: AsyncCallback\<boolean>): void;<br>新版本信息:201,202,2200002,2200003,2202011|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202009,2202011|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType, callback: AsyncCallback\<void>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003,2202004,2202005,2202006,2202011|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getStatsRxBytes(callback: AsyncCallback\<number>): void;<br>旧版本信息:201,2200002,2200003|类名:sharing;<br>方法or属性:function getStatsRxBytes(callback: AsyncCallback\<number>): void;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getStatsTxBytes(callback: AsyncCallback\<number>): void;<br>旧版本信息:201,2200002,2200003|类名:sharing;<br>方法or属性:function getStatsTxBytes(callback: AsyncCallback\<number>): void;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getStatsTotalBytes(callback: AsyncCallback\<number>): void;<br>旧版本信息:201,2200002,2200003|类名:sharing;<br>方法or属性:function getStatsTotalBytes(callback: AsyncCallback\<number>): void;<br>新版本信息:201,202,401,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信息:201,401,2200001,2200002,2200003|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType, callback: AsyncCallback\<SharingIfaceState>): void;<br>旧版本信息:201,401,2200001,2200002,2200003|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType, callback: AsyncCallback\<SharingIfaceState>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信息:201,401,2200001,2200002,2200003|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType, callback: AsyncCallback\<Array\<string>>): void;<br>新版本信息:201,202,401,2200001,2200002,2200003|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function on(type: 'sharingStateChange', callback: Callback\<boolean>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function on(type: 'sharingStateChange', callback: Callback\<boolean>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function on(type: 'interfaceSharingStateChange', callback: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function on(type: 'sharingUpstreamChange', callback: Callback\<NetHandle>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function on(type: 'sharingUpstreamChange', callback: Callback\<NetHandle>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function off(type: 'sharingStateChange', callback?: Callback\<boolean>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function off(type: 'sharingStateChange', callback?: Callback\<boolean>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function off(type: 'interfaceSharingStateChange', callback?: Callback\<{ type: SharingIfaceType, iface: string, state: SharingIfaceState }>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|错误码有变化|类名:sharing;<br>方法or属性:function off(type: 'sharingUpstreamChange', callback?: Callback\<NetHandle>): void;<br>旧版本信息:201,401|类名:sharing;<br>方法or属性:function off(type: 'sharingUpstreamChange', callback?: Callback\<NetHandle>): void;<br>新版本信息:201,202,401|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信息:systemapi|@ohos.net.connection.d.ts|
|访问级别有变化|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信息:systemapi|@ohos.net.connection.d.ts|
|访问级别有变化|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:route: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:route: string;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:IPSetMode;<br>方法or属性:STATIC = 0<br>旧版本信息:|类名:IPSetMode;<br>方法or属性:STATIC = 0<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:IPSetMode;<br>方法or属性:DHCP = 1<br>旧版本信息:|类名:IPSetMode;<br>方法or属性:DHCP = 1<br>新版本信息:systemapi|@ohos.net.ethernet.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_SERVING = 1<br>旧版本信息:|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_SERVING = 1<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_CAN_SERVER = 2<br>旧版本信息:|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_CAN_SERVER = 2<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_ERROR = 3<br>旧版本信息:|类名:SharingIfaceState;<br>方法or属性:SHARING_NIC_ERROR = 3<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceType;<br>方法or属性:SHARING_WIFI = 0<br>旧版本信息:|类名:SharingIfaceType;<br>方法or属性:SHARING_WIFI = 0<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceType;<br>方法or属性:SHARING_USB = 1<br>旧版本信息:|类名:SharingIfaceType;<br>方法or属性:SHARING_USB = 1<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:SharingIfaceType;<br>方法or属性:SHARING_BLUETOOTH = 2<br>旧版本信息:|类名:SharingIfaceType;<br>方法or属性:SHARING_BLUETOOTH = 2<br>新版本信息:systemapi|@ohos.net.sharing.d.ts|
|访问级别有变化|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:EapMethod;<br>方法or属性:enum EapMethod<br>旧版本信息:systemapi|类名:EapMethod;<br>方法or属性:enum EapMethod<br>新版本信息:|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:Phase2Method;<br>方法or属性:enum Phase2Method<br>旧版本信息:systemapi|类名:Phase2Method;<br>方法or属性:enum Phase2Method<br>新版本信息:|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiEapConfig;<br>方法or属性:interface WifiEapConfig<br>旧版本信息:systemapi|类名:WifiEapConfig;<br>方法or属性:interface WifiEapConfig<br>新版本信息:|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:creatorUid?: number;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:creatorUid?: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:disableReason?: number;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:disableReason?: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:netId?: number;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:netId?: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:randomMacType?: number;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:randomMacType?: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:randomMacAddr?: string;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:randomMacAddr?: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:ipType?: IpType;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:ipType?: IpType;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:staticIp?: IpConfig;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:staticIp?: IpConfig;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>旧版本信息:systemapi|类名:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>新版本信息:|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpConfig;<br>方法or属性:ipAddress: number;<br>旧版本信息:|类名:IpConfig;<br>方法or属性:ipAddress: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpConfig;<br>方法or属性:gateway: number;<br>旧版本信息:|类名:IpConfig;<br>方法or属性:gateway: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpConfig;<br>方法or属性:prefixLength: number;<br>旧版本信息:|类名:IpConfig;<br>方法or属性:prefixLength: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpConfig;<br>方法or属性:dnsServers: number[];<br>旧版本信息:|类名:IpConfig;<br>方法or属性:dnsServers: number[];<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpConfig;<br>方法or属性:domains: Array\<string>;<br>旧版本信息:|类名:IpConfig;<br>方法or属性:domains: Array\<string>;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiLinkedInfo;<br>方法or属性:networkId: number;<br>旧版本信息:|类名:WifiLinkedInfo;<br>方法or属性:networkId: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiLinkedInfo;<br>方法or属性:chload: number;<br>旧版本信息:|类名:WifiLinkedInfo;<br>方法or属性:chload: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiLinkedInfo;<br>方法or属性:snr: number;<br>旧版本信息:|类名:WifiLinkedInfo;<br>方法or属性:snr: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:WifiLinkedInfo;<br>方法or属性:suppState: SuppState;<br>旧版本信息:|类名:WifiLinkedInfo;<br>方法or属性:suppState: SuppState;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:ssid: string;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:ssid: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:securityType: WifiSecurityType;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:securityType: WifiSecurityType;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:band: number;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:band: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:channel?: number;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:channel?: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:preSharedKey: string;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:preSharedKey: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:HotspotConfig;<br>方法or属性:maxConn: number;<br>旧版本信息:|类名:HotspotConfig;<br>方法or属性:maxConn: number;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:StationInfo;<br>方法or属性:name: string;<br>旧版本信息:|类名:StationInfo;<br>方法or属性:name: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:StationInfo;<br>方法or属性:macAddress: string;<br>旧版本信息:|类名:StationInfo;<br>方法or属性:macAddress: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:StationInfo;<br>方法or属性:ipAddress: string;<br>旧版本信息:|类名:StationInfo;<br>方法or属性:ipAddress: string;<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpType;<br>方法or属性:STATIC<br>旧版本信息:|类名:IpType;<br>方法or属性:STATIC<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpType;<br>方法or属性:DHCP<br>旧版本信息:|类名:IpType;<br>方法or属性:DHCP<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:IpType;<br>方法or属性:UNKNOWN<br>旧版本信息:|类名:IpType;<br>方法or属性:UNKNOWN<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:DISCONNECTED<br>旧版本信息:|类名:SuppState;<br>方法or属性:DISCONNECTED<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:INTERFACE_DISABLED<br>旧版本信息:|类名:SuppState;<br>方法or属性:INTERFACE_DISABLED<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:INACTIVE<br>旧版本信息:|类名:SuppState;<br>方法or属性:INACTIVE<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:SCANNING<br>旧版本信息:|类名:SuppState;<br>方法or属性:SCANNING<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:AUTHENTICATING<br>旧版本信息:|类名:SuppState;<br>方法or属性:AUTHENTICATING<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:ASSOCIATING<br>旧版本信息:|类名:SuppState;<br>方法or属性:ASSOCIATING<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:ASSOCIATED<br>旧版本信息:|类名:SuppState;<br>方法or属性:ASSOCIATED<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:FOUR_WAY_HANDSHAKE<br>旧版本信息:|类名:SuppState;<br>方法or属性:FOUR_WAY_HANDSHAKE<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:GROUP_HANDSHAKE<br>旧版本信息:|类名:SuppState;<br>方法or属性:GROUP_HANDSHAKE<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:COMPLETED<br>旧版本信息:|类名:SuppState;<br>方法or属性:COMPLETED<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:UNINITIALIZED<br>旧版本信息:|类名:SuppState;<br>方法or属性:UNINITIALIZED<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|访问级别有变化|类名:SuppState;<br>方法or属性:INVALID<br>旧版本信息:|类名:SuppState;<br>方法or属性:INVALID<br>新版本信息:systemapi|@ohos.wifiManager.d.ts|
|权限有变化|类名:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getDeviceName(): Promise\<string>;<br>新版本信息:ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts|
|权限有变化|类名:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getServices(): Promise\<Array\<GattService>>;<br>新版本信息:ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts|
|权限有变化|类名:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:readCharacteristicValue(characteristic: BLECharacteristic): Promise\<BLECharacteristic>;<br>新版本信息:ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts|
|权限有变化|类名:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:readDescriptorValue(descriptor: BLEDescriptor): Promise\<BLEDescriptor>;<br>新版本信息:ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts|
|权限有变化|类名:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>旧版本信息:|类名:GattClientDevice;<br>方法or属性:getRssiValue(): Promise\<number>;<br>新版本信息:ohos.permission.USE_BLUETOOTH|@ohos.bluetoothManager.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getDefaultNet(): Promise\<NetHandle>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getAllNets(): Promise\<Array\<NetHandle>>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getConnectionProperties(netHandle: NetHandle): Promise\<ConnectionProperties>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getNetCapabilities(netHandle: NetHandle): Promise\<NetCapabilities>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>旧版本信息:|类名:connection;<br>方法or属性:function isDefaultNetMetered(): Promise\<boolean>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>旧版本信息:|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function enableAirplaneMode(): Promise\<void>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function disableAirplaneMode(): Promise\<void>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function reportNetConnected(netHandle: NetHandle): Promise\<void>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>旧版本信息:|类名:connection;<br>方法or属性:function reportNetDisconnected(netHandle: NetHandle): Promise\<void>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO,ohos.permission.INTERNET|@ohos.net.connection.d.ts|
|权限有变化|类名:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信息:|类名:connection;<br>方法or属性:function getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.connection.d.ts|
|权限有变化|类名:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:getAddressesByName(host: string): Promise\<Array\<NetAddress>>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.connection.d.ts|
|权限有变化|类名:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:getAddressByName(host: string): Promise\<NetAddress>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.connection.d.ts|
|权限有变化|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getIfaceConfig(iface: string): Promise\<InterfaceConfiguration>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts|
|权限有变化|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function setIfaceConfig(iface: string, ic: InterfaceConfiguration): Promise\<void>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.ethernet.d.ts|
|权限有变化|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function isIfaceActive(iface: string): Promise\<number>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts|
|权限有变化|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>旧版本信息:|类名:ethernet;<br>方法or属性:function getAllActiveIfaces(): Promise\<Array\<string>>;<br>新版本信息:ohos.permission.GET_NETWORK_INFO|@ohos.net.ethernet.d.ts|
|权限有变化|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.http.d.ts|
|权限有变化|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.http.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharingSupported(): Promise\<boolean>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function isSharing(): Promise\<boolean>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function startSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function stopSharing(type: SharingIfaceType): Promise\<void>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsRxBytes(): Promise\<number>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTxBytes(): Promise\<number>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getStatsTotalBytes(): Promise\<number>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingIfaces(state: SharingIfaceState): Promise\<Array\<string>>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharingState(type: SharingIfaceType): Promise\<SharingIfaceState>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>旧版本信息:|类名:sharing;<br>方法or属性:function getSharableRegexes(type: SharingIfaceType): Promise\<Array\<string>>;<br>新版本信息:ohos.permission.CONNECTIVITY_INTERNAL|@ohos.net.sharing.d.ts|
|权限有变化|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.socket.d.ts|
|权限有变化|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.webSocket.d.ts|
|权限有变化|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.webSocket.d.ts|
|权限有变化|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.webSocket.d.ts|
|权限有变化|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.webSocket.d.ts|
|权限有变化|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>新版本信息:ohos.permission.INTERNET|@ohos.net.webSocket.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function addDeviceConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信息:ohos.permission.SET_WIFI_INFO,ohos.permission.SET_WIFI_CONFIG|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function addCandidateConfig(config: WifiDeviceConfig, callback: AsyncCallback\<number>): void;<br>新版本信息:ohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function removeCandidateConfig(networkId: number, callback: AsyncCallback\<void>): void;<br>新版本信息:ohos.permission.SET_WIFI_INFO|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getLinkedInfo(callback: AsyncCallback\<WifiLinkedInfo>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pLinkedInfo(callback: AsyncCallback\<WifiP2pLinkedInfo>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getCurrentP2pGroup(callback: AsyncCallback\<WifiP2pGroupInfo>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pPeerDevices(callback: AsyncCallback\<WifiP2pDevice[]>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pLocalDevice(callback: AsyncCallback\<WifiP2pDevice>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO,ohos.permission.GET_WIFI_CONFIG|@ohos.wifiManager.d.ts|
|权限有变化|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>旧版本信息:|类名:wifiManager;<br>方法or属性:function getP2pGroups(callback: AsyncCallback\<Array\<WifiP2pGroupInfo>>): void;<br>新版本信息:ohos.permission.GET_WIFI_INFO,ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION|@ohos.wifiManager.d.ts|
|type有变化|类名:NetSpecifier;<br>方法or属性:netCapabilities: NetCapabilities;<br>旧版本信息:|类名:NetSpecifier;<br>方法or属性:netCapabilities: NetCapabilities;<br>新版本信息:NetCapabilities|@ohos.net.connection.d.ts|
|type有变化|类名:NetSpecifier;<br>方法or属性:bearerPrivateIdentifier?: string;<br>旧版本信息:|类名:NetSpecifier;<br>方法or属性:bearerPrivateIdentifier?: string;<br>新版本信息:?string|@ohos.net.connection.d.ts|
|type有变化|类名:NetHandle;<br>方法or属性:netId: number;<br>旧版本信息:|类名:NetHandle;<br>方法or属性:netId: number;<br>新版本信息:number|@ohos.net.connection.d.ts|
|type有变化|类名:NetCapabilities;<br>方法or属性:linkUpBandwidthKbps?: number;<br>旧版本信息:|类名:NetCapabilities;<br>方法or属性:linkUpBandwidthKbps?: number;<br>新版本信息:?number|@ohos.net.connection.d.ts|
|type有变化|类名:NetCapabilities;<br>方法or属性:linkDownBandwidthKbps?: number;<br>旧版本信息:|类名:NetCapabilities;<br>方法or属性:linkDownBandwidthKbps?: number;<br>新版本信息:?number|@ohos.net.connection.d.ts|
|type有变化|类名:NetCapabilities;<br>方法or属性:networkCap?: Array\<NetCap>;<br>旧版本信息:|类名:NetCapabilities;<br>方法or属性:networkCap?: Array\<NetCap>;<br>新版本信息:?Array\<NetCap>|@ohos.net.connection.d.ts|
|type有变化|类名:NetCapabilities;<br>方法or属性:bearerTypes: Array\<NetBearType>;<br>旧版本信息:|类名:NetCapabilities;<br>方法or属性:bearerTypes: Array\<NetBearType>;<br>新版本信息:Array\<NetBearType>|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:interfaceName: string;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:interfaceName: string;<br>新版本信息:string|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:domains: string;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:domains: string;<br>新版本信息:string|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:linkAddresses: Array\<LinkAddress>;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:linkAddresses: Array\<LinkAddress>;<br>新版本信息:Array\<LinkAddress>|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:dnses: Array\<NetAddress>;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:dnses: Array\<NetAddress>;<br>新版本信息:Array\<NetAddress>|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:routes: Array\<RouteInfo>;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:routes: Array\<RouteInfo>;<br>新版本信息:Array\<RouteInfo>|@ohos.net.connection.d.ts|
|type有变化|类名:ConnectionProperties;<br>方法or属性:mtu: number;<br>旧版本信息:|类名:ConnectionProperties;<br>方法or属性:mtu: number;<br>新版本信息:number|@ohos.net.connection.d.ts|
|type有变化|类名:RouteInfo;<br>方法or属性:interface: string;<br>旧版本信息:|类名:RouteInfo;<br>方法or属性:interface: string;<br>新版本信息:string|@ohos.net.connection.d.ts|
|type有变化|类名:RouteInfo;<br>方法or属性:destination: LinkAddress;<br>旧版本信息:|类名:RouteInfo;<br>方法or属性:destination: LinkAddress;<br>新版本信息:LinkAddress|@ohos.net.connection.d.ts|
|type有变化|类名:RouteInfo;<br>方法or属性:gateway: NetAddress;<br>旧版本信息:|类名:RouteInfo;<br>方法or属性:gateway: NetAddress;<br>新版本信息:NetAddress|@ohos.net.connection.d.ts|
|type有变化|类名:RouteInfo;<br>方法or属性:hasGateway: boolean;<br>旧版本信息:|类名:RouteInfo;<br>方法or属性:hasGateway: boolean;<br>新版本信息:boolean|@ohos.net.connection.d.ts|
|type有变化|类名:RouteInfo;<br>方法or属性:isDefaultRoute: boolean;<br>旧版本信息:|类名:RouteInfo;<br>方法or属性:isDefaultRoute: boolean;<br>新版本信息:boolean|@ohos.net.connection.d.ts|
|type有变化|类名:LinkAddress;<br>方法or属性:address: NetAddress;<br>旧版本信息:|类名:LinkAddress;<br>方法or属性:address: NetAddress;<br>新版本信息:NetAddress|@ohos.net.connection.d.ts|
|type有变化|类名:LinkAddress;<br>方法or属性:prefixLength: number;<br>旧版本信息:|类名:LinkAddress;<br>方法or属性:prefixLength: number;<br>新版本信息:number|@ohos.net.connection.d.ts|
|type有变化|类名:NetAddress;<br>方法or属性:address: string;<br>旧版本信息:|类名:NetAddress;<br>方法or属性:address: string;<br>新版本信息:string|@ohos.net.connection.d.ts|
|type有变化|类名:NetAddress;<br>方法or属性:family?: number;<br>旧版本信息:|类名:NetAddress;<br>方法or属性:family?: number;<br>新版本信息:?number|@ohos.net.connection.d.ts|
|type有变化|类名:NetAddress;<br>方法or属性:port?: number;<br>旧版本信息:|类名:NetAddress;<br>方法or属性:port?: number;<br>新版本信息:?number|@ohos.net.connection.d.ts|
|type有变化|类名:HttpProxy;<br>方法or属性:host: string;<br>旧版本信息:|类名:HttpProxy;<br>方法or属性:host: string;<br>新版本信息:string|@ohos.net.connection.d.ts|
|type有变化|类名:HttpProxy;<br>方法or属性:port: number;<br>旧版本信息:|类名:HttpProxy;<br>方法or属性:port: number;<br>新版本信息:number|@ohos.net.connection.d.ts|
|type有变化|类名:HttpProxy;<br>方法or属性:exclusionList: Array\<string>;<br>旧版本信息:|类名:HttpProxy;<br>方法or属性:exclusionList: Array\<string>;<br>新版本信息:Array\<string>|@ohos.net.connection.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:mode: IPSetMode;<br>新版本信息:IPSetMode|@ohos.net.ethernet.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:ipAddr: string;<br>新版本信息:string|@ohos.net.ethernet.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:route: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:route: string;<br>新版本信息:string|@ohos.net.ethernet.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:gateway: string;<br>新版本信息:string|@ohos.net.ethernet.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:netMask: string;<br>新版本信息:string|@ohos.net.ethernet.d.ts|
|type有变化|类名:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>旧版本信息:|类名:InterfaceConfiguration;<br>方法or属性:dnsServers: string;<br>新版本信息:string|@ohos.net.ethernet.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:method?: RequestMethod;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:method?: RequestMethod;<br>新版本信息:?RequestMethod|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:extraData?: string \| Object \| ArrayBuffer;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:extraData?: string \| Object \| ArrayBuffer;<br>新版本信息:?string \| Object \| ArrayBuffer|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:expectDataType?: HttpDataType;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:expectDataType?: HttpDataType;<br>新版本信息:?HttpDataType|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:usingCache?: boolean;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:usingCache?: boolean;<br>新版本信息:?boolean|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:priority?: number;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:priority?: number;<br>新版本信息:?number|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:header?: Object;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:header?: Object;<br>新版本信息:?Object|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:readTimeout?: number;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:readTimeout?: number;<br>新版本信息:?number|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:connectTimeout?: number;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:connectTimeout?: number;<br>新版本信息:?number|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:usingProtocol?: HttpProtocol;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:usingProtocol?: HttpProtocol;<br>新版本信息:?HttpProtocol|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:usingProxy?: boolean \| HttpProxy;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:usingProxy?: boolean \| HttpProxy;<br>新版本信息:?boolean \| HttpProxy|@ohos.net.http.d.ts|
|type有变化|类名:HttpRequestOptions;<br>方法or属性:caPath?: string;<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:caPath?: string;<br>新版本信息:?string|@ohos.net.http.d.ts|
|type有变化|类名:HttpResponse;<br>方法or属性:result: string \| Object \| ArrayBuffer;<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:result: string \| Object \| ArrayBuffer;<br>新版本信息:string \| Object \| ArrayBuffer|@ohos.net.http.d.ts|
|type有变化|类名:HttpResponse;<br>方法or属性:resultType: HttpDataType;<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:resultType: HttpDataType;<br>新版本信息:HttpDataType|@ohos.net.http.d.ts|
|type有变化|类名:HttpResponse;<br>方法or属性:responseCode: ResponseCode \| number;<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:responseCode: ResponseCode \| number;<br>新版本信息:ResponseCode \| number|@ohos.net.http.d.ts|
|type有变化|类名:HttpResponse;<br>方法or属性:header: Object;<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:header: Object;<br>新版本信息:Object|@ohos.net.http.d.ts|
|type有变化|类名:HttpResponse;<br>方法or属性:cookies: string;<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:cookies: string;<br>新版本信息:string|@ohos.net.http.d.ts|
|type有变化|类名:LocalServiceInfo;<br>方法or属性:serviceType: string;<br>旧版本信息:|类名:LocalServiceInfo;<br>方法or属性:serviceType: string;<br>新版本信息:string|@ohos.net.mdns.d.ts|
|type有变化|类名:LocalServiceInfo;<br>方法or属性:serviceName: string;<br>旧版本信息:|类名:LocalServiceInfo;<br>方法or属性:serviceName: string;<br>新版本信息:string|@ohos.net.mdns.d.ts|
|type有变化|类名:LocalServiceInfo;<br>方法or属性:port?: number;<br>旧版本信息:|类名:LocalServiceInfo;<br>方法or属性:port?: number;<br>新版本信息:?number|@ohos.net.mdns.d.ts|
|type有变化|类名:LocalServiceInfo;<br>方法or属性:host?: NetAddress;<br>旧版本信息:|类名:LocalServiceInfo;<br>方法or属性:host?: NetAddress;<br>新版本信息:?NetAddress|@ohos.net.mdns.d.ts|
|type有变化|类名:LocalServiceInfo;<br>方法or属性:serviceAttribute?: Array\<ServiceAttribute>;<br>旧版本信息:|类名:LocalServiceInfo;<br>方法or属性:serviceAttribute?: Array\<ServiceAttribute>;<br>新版本信息:?Array\<ServiceAttribute>|@ohos.net.mdns.d.ts|
|type有变化|类名:ServiceAttribute;<br>方法or属性:key: string;<br>旧版本信息:|类名:ServiceAttribute;<br>方法or属性:key: string;<br>新版本信息:string|@ohos.net.mdns.d.ts|
|type有变化|类名:ServiceAttribute;<br>方法or属性:value: Array\<number>;<br>旧版本信息:|类名:ServiceAttribute;<br>方法or属性:value: Array\<number>;<br>新版本信息:Array\<number>|@ohos.net.mdns.d.ts|
|type有变化|类名:UDPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>旧版本信息:|类名:UDPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>新版本信息:string \| ArrayBuffer|@ohos.net.socket.d.ts|
|type有变化|类名:TCPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>旧版本信息:|类名:TCPSendOptions;<br>方法or属性:data: string \| ArrayBuffer;<br>新版本信息:string \| ArrayBuffer|@ohos.net.socket.d.ts|
|type有变化|类名:UDPSendOptions;<br>方法or属性:address: NetAddress;<br>旧版本信息:|类名:UDPSendOptions;<br>方法or属性:address: NetAddress;<br>新版本信息:NetAddress|@ohos.net.socket.d.ts|
|type有变化|类名:TCPConnectOptions;<br>方法or属性:address: NetAddress;<br>旧版本信息:|类名:TCPConnectOptions;<br>方法or属性:address: NetAddress;<br>新版本信息:NetAddress|@ohos.net.socket.d.ts|
|type有变化|类名:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>旧版本信息:|类名:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>新版本信息:NetAddress|@ohos.net.socket.d.ts|
|type有变化|类名:ExtraOptionsBase;<br>方法or属性:receiveBufferSize?: number;<br>旧版本信息:|类名:ExtraOptionsBase;<br>方法or属性:receiveBufferSize?: number;<br>新版本信息:?number|@ohos.net.socket.d.ts|
|type有变化|类名:ExtraOptionsBase;<br>方法or属性:sendBufferSize?: number;<br>旧版本信息:|类名:ExtraOptionsBase;<br>方法or属性:sendBufferSize?: number;<br>新版本信息:?number|@ohos.net.socket.d.ts|
|type有变化|类名:ExtraOptionsBase;<br>方法or属性:reuseAddress?: boolean;<br>旧版本信息:|类名:ExtraOptionsBase;<br>方法or属性:reuseAddress?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:ExtraOptionsBase;<br>方法or属性:socketTimeout?: number;<br>旧版本信息:|类名:ExtraOptionsBase;<br>方法or属性:socketTimeout?: number;<br>新版本信息:?number|@ohos.net.socket.d.ts|
|type有变化|类名:UDPExtraOptions;<br>方法or属性:broadcast?: boolean;<br>旧版本信息:|类名:UDPExtraOptions;<br>方法or属性:broadcast?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:SocketStateBase;<br>方法or属性:isBound: boolean;<br>旧版本信息:|类名:SocketStateBase;<br>方法or属性:isBound: boolean;<br>新版本信息:boolean|@ohos.net.socket.d.ts|
|type有变化|类名:SocketStateBase;<br>方法or属性:isClose: boolean;<br>旧版本信息:|类名:SocketStateBase;<br>方法or属性:isClose: boolean;<br>新版本信息:boolean|@ohos.net.socket.d.ts|
|type有变化|类名:SocketStateBase;<br>方法or属性:isConnected: boolean;<br>旧版本信息:|类名:SocketStateBase;<br>方法or属性:isConnected: boolean;<br>新版本信息:boolean|@ohos.net.socket.d.ts|
|type有变化|类名:SocketRemoteInfo;<br>方法or属性:address: string;<br>旧版本信息:|类名:SocketRemoteInfo;<br>方法or属性:address: string;<br>新版本信息:string|@ohos.net.socket.d.ts|
|type有变化|类名:SocketRemoteInfo;<br>方法or属性:family: 'IPv4' \| 'IPv6';<br>旧版本信息:|类名:SocketRemoteInfo;<br>方法or属性:family: 'IPv4' \| 'IPv6';<br>新版本信息:'IPv4' \| 'IPv6'|@ohos.net.socket.d.ts|
|type有变化|类名:SocketRemoteInfo;<br>方法or属性:port: number;<br>旧版本信息:|类名:SocketRemoteInfo;<br>方法or属性:port: number;<br>新版本信息:number|@ohos.net.socket.d.ts|
|type有变化|类名:SocketRemoteInfo;<br>方法or属性:size: number;<br>旧版本信息:|类名:SocketRemoteInfo;<br>方法or属性:size: number;<br>新版本信息:number|@ohos.net.socket.d.ts|
|type有变化|类名:TCPConnectOptions;<br>方法or属性:timeout?: number;<br>旧版本信息:|类名:TCPConnectOptions;<br>方法or属性:timeout?: number;<br>新版本信息:?number|@ohos.net.socket.d.ts|
|type有变化|类名:TCPSendOptions;<br>方法or属性:encoding?: string;<br>旧版本信息:|类名:TCPSendOptions;<br>方法or属性:encoding?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TCPExtraOptions;<br>方法or属性:keepAlive?: boolean;<br>旧版本信息:|类名:TCPExtraOptions;<br>方法or属性:keepAlive?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:TCPExtraOptions;<br>方法or属性:OOBInline?: boolean;<br>旧版本信息:|类名:TCPExtraOptions;<br>方法or属性:OOBInline?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:TCPExtraOptions;<br>方法or属性:TCPNoDelay?: boolean;<br>旧版本信息:|类名:TCPExtraOptions;<br>方法or属性:TCPNoDelay?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:TCPExtraOptions;<br>方法or属性:socketLinger?: { on: boolean, linger: number };<br>旧版本信息:|类名:TCPExtraOptions;<br>方法or属性:socketLinger?: { on: boolean, linger: number };<br>新版本信息:?object|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:ca: string \| Array\<string>;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:ca: string \| Array\<string>;<br>新版本信息:string \| Array\<string>|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:cert?: string;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:cert?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:key?: string;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:key?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:password?: string;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:password?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:protocols?: Protocol \| Array\<Protocol>;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:protocols?: Protocol \| Array\<Protocol>;<br>新版本信息:?Protocol \| Array\<Protocol>|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:useRemoteCipherPrefer?: boolean;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:useRemoteCipherPrefer?: boolean;<br>新版本信息:?boolean|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:signatureAlgorithms?: string;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:signatureAlgorithms?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TLSSecureOptions;<br>方法or属性:cipherSuite?: string;<br>旧版本信息:|类名:TLSSecureOptions;<br>方法or属性:cipherSuite?: string;<br>新版本信息:?string|@ohos.net.socket.d.ts|
|type有变化|类名:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>旧版本信息:|类名:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>新版本信息:TLSSecureOptions|@ohos.net.socket.d.ts|
|type有变化|类名:TLSConnectOptions;<br>方法or属性:ALPNProtocols?: Array\<string>;<br>旧版本信息:|类名:TLSConnectOptions;<br>方法or属性:ALPNProtocols?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.net.socket.d.ts|
|type有变化|类名:WebSocketRequestOptions;<br>方法or属性:header?: Object;<br>旧版本信息:|类名:WebSocketRequestOptions;<br>方法or属性:header?: Object;<br>新版本信息:?Object|@ohos.net.webSocket.d.ts|
|type有变化|类名:WebSocketCloseOptions;<br>方法or属性:code?: number;<br>旧版本信息:|类名:WebSocketCloseOptions;<br>方法or属性:code?: number;<br>新版本信息:?number|@ohos.net.webSocket.d.ts|
|type有变化|类名:WebSocketCloseOptions;<br>方法or属性:reason?: string;<br>旧版本信息:|类名:WebSocketCloseOptions;<br>方法or属性:reason?: string;<br>新版本信息:?string|@ohos.net.webSocket.d.ts|
|type有变化|类名:WifiEapConfig;<br>方法or属性:caCertAliases: string;<br>旧版本信息:|类名:WifiEapConfig;<br>方法or属性:caCertAliases: string;<br>新版本信息:string|@ohos.wifiManager.d.ts|
|type有变化|类名:WifiEapConfig;<br>方法or属性:clientCertAliases: string;<br>旧版本信息:|类名:WifiEapConfig;<br>方法or属性:clientCertAliases: string;<br>新版本信息:string|@ohos.wifiManager.d.ts|
|type有变化|类名:WifiEapConfig;<br>方法or属性:eapSubId: number;<br>旧版本信息:|类名:WifiEapConfig;<br>方法or属性:eapSubId: number;<br>新版本信息:number|@ohos.wifiManager.d.ts|
|type有变化|类名:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>旧版本信息:|类名:WifiDeviceConfig;<br>方法or属性:eapConfig?: WifiEapConfig;<br>新版本信息:?WifiEapConfig|@ohos.wifiManager.d.ts|
|type有变化|类名:NetworkResponse;<br>方法or属性:type: string;<br>旧版本信息:|类名:NetworkResponse;<br>方法or属性:type: string;<br>新版本信息:string|@system.network.d.ts|
|type有变化|类名:NetworkResponse;<br>方法or属性:metered: boolean;<br>旧版本信息:|类名:NetworkResponse;<br>方法or属性:metered: boolean;<br>新版本信息:boolean|@system.network.d.ts|
|函数有变化|类名:HotspotConfig;<br>方法or属性:channel: number;|类名:HotspotConfig;<br>方法or属性:channel?: number;|@ohos.wifiManager.d.ts|
|跨平台能力有变化|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>旧版本信息:|类名:connection;<br>方法or属性:function hasDefaultNet(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.net.connection.d.ts|
|跨平台能力有变化|类名:NetConnection;<br>方法or属性:export interface NetConnection<br>旧版本信息:|类名:NetConnection;<br>方法or属性:export interface NetConnection<br>新版本信息:crossplatform|@ohos.net.connection.d.ts|
|跨平台能力有变化|类名:http;<br>方法or属性:declare http<br>旧版本信息:|类名:http;<br>方法or属性:declare http<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpRequestOptions;<br>方法or属性:export interface HttpRequestOptions<br>旧版本信息:|类名:HttpRequestOptions;<br>方法or属性:export interface HttpRequestOptions<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpRequest;<br>方法or属性:export interface HttpRequest<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:export interface HttpRequest<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options: HttpRequestOptions, callback: AsyncCallback\<HttpResponse>): void;<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>旧版本信息:|类名:HttpRequest;<br>方法or属性:request(url: string, options?: HttpRequestOptions): Promise\<HttpResponse>;<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:OPTIONS = "OPTIONS"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:OPTIONS = "OPTIONS"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:GET = "GET"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:GET = "GET"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:HEAD = "HEAD"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:HEAD = "HEAD"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:POST = "POST"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:POST = "POST"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:PUT = "PUT"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:PUT = "PUT"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:DELETE = "DELETE"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:DELETE = "DELETE"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:TRACE = "TRACE"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:TRACE = "TRACE"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:RequestMethod;<br>方法or属性:CONNECT = "CONNECT"<br>旧版本信息:|类名:RequestMethod;<br>方法or属性:CONNECT = "CONNECT"<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:OK = 200<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:OK = 200<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:CREATED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:CREATED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:ACCEPTED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:ACCEPTED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NOT_AUTHORITATIVE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NOT_AUTHORITATIVE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NO_CONTENT<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NO_CONTENT<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:RESET<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:RESET<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:PARTIAL<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:PARTIAL<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:MULT_CHOICE = 300<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:MULT_CHOICE = 300<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:MOVED_PERM<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:MOVED_PERM<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:MOVED_TEMP<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:MOVED_TEMP<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:SEE_OTHER<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:SEE_OTHER<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NOT_MODIFIED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NOT_MODIFIED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:USE_PROXY<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:USE_PROXY<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:BAD_REQUEST = 400<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:BAD_REQUEST = 400<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:UNAUTHORIZED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:UNAUTHORIZED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:PAYMENT_REQUIRED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:PAYMENT_REQUIRED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:FORBIDDEN<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:FORBIDDEN<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NOT_FOUND<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NOT_FOUND<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:BAD_METHOD<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:BAD_METHOD<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NOT_ACCEPTABLE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NOT_ACCEPTABLE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:PROXY_AUTH<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:PROXY_AUTH<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:CLIENT_TIMEOUT<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:CLIENT_TIMEOUT<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:CONFLICT<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:CONFLICT<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:GONE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:GONE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:LENGTH_REQUIRED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:LENGTH_REQUIRED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:PRECON_FAILED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:PRECON_FAILED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:ENTITY_TOO_LARGE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:ENTITY_TOO_LARGE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:REQ_TOO_LONG<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:REQ_TOO_LONG<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:UNSUPPORTED_TYPE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:UNSUPPORTED_TYPE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:INTERNAL_ERROR = 500<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:INTERNAL_ERROR = 500<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:NOT_IMPLEMENTED<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:NOT_IMPLEMENTED<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:BAD_GATEWAY<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:BAD_GATEWAY<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:UNAVAILABLE<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:UNAVAILABLE<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:GATEWAY_TIMEOUT<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:GATEWAY_TIMEOUT<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:ResponseCode;<br>方法or属性:VERSION<br>旧版本信息:|类名:ResponseCode;<br>方法or属性:VERSION<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpProtocol;<br>方法or属性:HTTP1_1<br>旧版本信息:|类名:HttpProtocol;<br>方法or属性:HTTP1_1<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpProtocol;<br>方法or属性:HTTP2<br>旧版本信息:|类名:HttpProtocol;<br>方法or属性:HTTP2<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpResponse;<br>方法or属性:export interface HttpResponse<br>旧版本信息:|类名:HttpResponse;<br>方法or属性:export interface HttpResponse<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpResponseCache;<br>方法or属性:flush(): Promise\<void>;<br>旧版本信息:|类名:HttpResponseCache;<br>方法or属性:flush(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:HttpResponseCache;<br>方法or属性:delete(): Promise\<void>;<br>旧版本信息:|类名:HttpResponseCache;<br>方法or属性:delete(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.http.d.ts|
|跨平台能力有变化|类名:socket;<br>方法or属性:declare socket<br>旧版本信息:|类名:socket;<br>方法or属性:declare socket<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSendOptions;<br>方法or属性:export interface UDPSendOptions<br>旧版本信息:|类名:UDPSendOptions;<br>方法or属性:export interface UDPSendOptions<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>旧版本信息:|类名:TLSConnectOptions;<br>方法or属性:address: NetAddress;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:ExtraOptionsBase;<br>方法or属性:export interface ExtraOptionsBase<br>旧版本信息:|类名:ExtraOptionsBase;<br>方法or属性:export interface ExtraOptionsBase<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPExtraOptions;<br>方法or属性:export interface UDPExtraOptions<br>旧版本信息:|类名:UDPExtraOptions;<br>方法or属性:export interface UDPExtraOptions<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:SocketStateBase;<br>方法or属性:export interface SocketStateBase<br>旧版本信息:|类名:SocketStateBase;<br>方法or属性:export interface SocketStateBase<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:SocketRemoteInfo;<br>方法or属性:export interface SocketRemoteInfo<br>旧版本信息:|类名:SocketRemoteInfo;<br>方法or属性:export interface SocketRemoteInfo<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:export interface UDPSocket<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:export interface UDPSocket<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:bind(address: NetAddress): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:send(options: UDPSendOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:close(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getState(): Promise\<SocketStateBase>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:UDPSocket;<br>方法or属性:setExtraOptions(options: UDPExtraOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPConnectOptions;<br>方法or属性:export interface TCPConnectOptions<br>旧版本信息:|类名:TCPConnectOptions;<br>方法or属性:export interface TCPConnectOptions<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSendOptions;<br>方法or属性:export interface TCPSendOptions<br>旧版本信息:|类名:TCPSendOptions;<br>方法or属性:export interface TCPSendOptions<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPExtraOptions;<br>方法or属性:export interface TCPExtraOptions<br>旧版本信息:|类名:TCPExtraOptions;<br>方法or属性:export interface TCPExtraOptions<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:export interface TCPSocket<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:export interface TCPSocket<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:connect(options: TCPConnectOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:send(options: TCPSendOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getRemoteAddress(): Promise\<NetAddress>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:TCPSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:setExtraOptions(options: TCPExtraOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getCertificate(): Promise\<X509CertRawData>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getRemoteCertificate(): Promise\<X509CertRawData>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getProtocol(): Promise\<string>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getCipherSuite(): Promise\<Array\<string>>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:getSignatureAlgorithms(): Promise\<Array\<string>>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:connect(options: TLSConnectOptions): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>旧版本信息:|类名:TLSSocket;<br>方法or属性:send(data: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>旧版本信息:|类名:TLSConnectOptions;<br>方法or属性:secureOptions: TLSSecureOptions;<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:Protocol;<br>方法or属性:TLSv12 = "TLSv1.2"<br>旧版本信息:|类名:Protocol;<br>方法or属性:TLSv12 = "TLSv1.2"<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:Protocol;<br>方法or属性:TLSv13 = "TLSv1.3"<br>旧版本信息:|类名:Protocol;<br>方法or属性:TLSv13 = "TLSv1.3"<br>新版本信息:crossplatform|@ohos.net.socket.d.ts|
|跨平台能力有变化|类名:webSocket;<br>方法or属性:declare webSocket<br>旧版本信息:|类名:webSocket;<br>方法or属性:declare webSocket<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocketRequestOptions;<br>方法or属性:export interface WebSocketRequestOptions<br>旧版本信息:|类名:WebSocketRequestOptions;<br>方法or属性:export interface WebSocketRequestOptions<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocketCloseOptions;<br>方法or属性:export interface WebSocketCloseOptions<br>旧版本信息:|类名:WebSocketCloseOptions;<br>方法or属性:export interface WebSocketCloseOptions<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:export interface WebSocket<br>旧版本信息:|类名:WebSocket;<br>方法or属性:export interface WebSocket<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options: WebSocketRequestOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:connect(url: string, options?: WebSocketRequestOptions): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:send(data: string \| ArrayBuffer): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options: WebSocketCloseOptions, callback: AsyncCallback\<boolean>): void;<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
|跨平台能力有变化|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>旧版本信息:|类名:WebSocket;<br>方法or属性:close(options?: WebSocketCloseOptions): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.net.webSocket.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:ConditionType;<br>方法or属性:timeout?: number;|@ohos.process.d.ts|
|新增|NA|类名:ConditionType;<br>方法or属性:killSignal?: number \| string;|@ohos.process.d.ts|
|新增|NA|类名:ConditionType;<br>方法or属性:maxBuffer?: number;|@ohos.process.d.ts|
|新增|NA|类名:taskpool;<br>方法or属性:function execute(group: TaskGroup, priority?: Priority): Promise\<unknown[]>;|@ohos.taskpool.d.ts|
|新增|NA|类名:taskpool;<br>方法or属性:function cancel(group: TaskGroup): void;|@ohos.taskpool.d.ts|
|新增|NA|类名:taskpool;<br>方法or属性:function getTaskPoolInfo(): TaskPoolInfo;|@ohos.taskpool.d.ts|
|新增|NA|类名:Task;<br>方法or属性:static isCanceled(): boolean;|@ohos.taskpool.d.ts|
|新增|NA|类名:Task;<br>方法or属性:setTransferList(transfer?: ArrayBuffer[]): void;|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskGroup;<br>方法or属性:constructor();|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskGroup;<br>方法or属性:addTask(func: Function, ...args: unknown[]): void;|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskGroup;<br>方法or属性:addTask(task: Task): void;|@ohos.taskpool.d.ts|
|新增|NA|类名:State;<br>方法or属性:WAITING = 1|@ohos.taskpool.d.ts|
|新增|NA|类名:State;<br>方法or属性:RUNNING = 2|@ohos.taskpool.d.ts|
|新增|NA|类名:State;<br>方法or属性:CANCELED = 3|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:taskId: number;|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:state: State;|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:duration?: number;|@ohos.taskpool.d.ts|
|新增|NA|类名:ThreadInfo;<br>方法or属性:tid: number;|@ohos.taskpool.d.ts|
|新增|NA|类名:ThreadInfo;<br>方法or属性:taskIds?: number[];|@ohos.taskpool.d.ts|
|新增|NA|类名:ThreadInfo;<br>方法or属性:priority?: Priority;|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskPoolInfo;<br>方法or属性:threadInfos: ThreadInfo[];|@ohos.taskpool.d.ts|
|新增|NA|类名:TaskPoolInfo;<br>方法or属性:taskInfos: TaskInfo[];|@ohos.taskpool.d.ts|
|新增|NA|类名:Type;<br>方法or属性:BASIC|@ohos.util.d.ts|
|新增|NA|类名:Type;<br>方法or属性:MIME|@ohos.util.d.ts|
|新增(错误码)|类名:WorkerEventListener;<br>方法or属性:(event: Event): void \| Promise\<void>;<br>旧版本信息:|类名:WorkerEventListener;<br>方法or属性:(event: Event): void \| Promise\<void>;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorkerGlobalScope;<br>方法or属性:onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>旧版本信息:|类名:ThreadWorkerGlobalScope;<br>方法or属性:onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorkerGlobalScope;<br>方法or属性:onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>旧版本信息:|类名:ThreadWorkerGlobalScope;<br>方法or属性:onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorker;<br>方法or属性:onexit?: (code: number) => void;<br>旧版本信息:|类名:ThreadWorker;<br>方法or属性:onexit?: (code: number) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorker;<br>方法or属性:onerror?: (err: ErrorEvent) => void;<br>旧版本信息:|类名:ThreadWorker;<br>方法or属性:onerror?: (err: ErrorEvent) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorker;<br>方法or属性:onmessage?: (event: MessageEvents) => void;<br>旧版本信息:|类名:ThreadWorker;<br>方法or属性:onmessage?: (event: MessageEvents) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|新增(错误码)|类名:ThreadWorker;<br>方法or属性:onmessageerror?: (event: MessageEvents) => void;<br>旧版本信息:|类名:ThreadWorker;<br>方法or属性:onmessageerror?: (event: MessageEvents) => void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|错误码有变化|类名:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>旧版本信息:401,10200015,10200016|类名:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>新版本信息:401,10200015|@ohos.taskpool.d.ts|
|错误码有变化|类名:Vector;<br>方法or属性:insert(element: T, index: number): void;<br>旧版本信息:If|类名:Vector;<br>方法or属性:insert(element: T, index: number): void;<br>新版本信息:|@ohos.util.Vector.d.ts|
|错误码有变化|类名:Vector;<br>方法or属性:removeByRange(fromIndex: number, toIndex: number): void;<br>旧版本信息:If|类名:Vector;<br>方法or属性:removeByRange(fromIndex: number, toIndex: number): void;<br>新版本信息:|@ohos.util.Vector.d.ts|
|错误码有变化|类名:Vector;<br>方法or属性:subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>旧版本信息:If|类名:Vector;<br>方法or属性:subVector(fromIndex: number, toIndex: number): Vector\<T>;<br>新版本信息:|@ohos.util.Vector.d.ts|
|错误码有变化|类名:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>旧版本信息:401,10200004|类名:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|错误码有变化|类名:ThreadWorker;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>旧版本信息:401,10200004|类名:ThreadWorker;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|错误码有变化|类名:ThreadWorker;<br>方法or属性:on(type: string, listener: WorkerEventListener): void;<br>旧版本信息:401,10200004|类名:ThreadWorker;<br>方法or属性:on(type: string, listener: WorkerEventListener): void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|错误码有变化|类名:ThreadWorker;<br>方法or属性:once(type: string, listener: WorkerEventListener): void;<br>旧版本信息:401,10200004|类名:ThreadWorker;<br>方法or属性:once(type: string, listener: WorkerEventListener): void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|错误码有变化|类名:ThreadWorker;<br>方法or属性:off(type: string, listener?: WorkerEventListener): void;<br>旧版本信息:401,10200004|类名:ThreadWorker;<br>方法or属性:off(type: string, listener?: WorkerEventListener): void;<br>新版本信息:401,10200004,10200005|@ohos.worker.d.ts|
|type有变化|类名:Task;<br>方法or属性:arguments?: unknown[];<br>旧版本信息:|类名:Task;<br>方法or属性:arguments?: unknown[];<br>新版本信息:?unknown[]|@ohos.taskpool.d.ts|
|函数有变化|类名:process;<br>方法or属性:function runCmd(command: string,<br><br> options?: { timeout?: number, killSignal?: number \| string, maxBuffer?: number }): ChildProcess;|类名:process;<br>方法or属性:function runCmd(<br><br> command: string,<br><br> options?: ConditionType<br><br> ): ChildProcess;|@ohos.process.d.ts|
|函数有变化|类名:Priority;<br>方法or属性:HIGH|类名:Priority;<br>方法or属性:HIGH = 0|@ohos.taskpool.d.ts|
|函数有变化|类名:Priority;<br>方法or属性:MEDIUM|类名:Priority;<br>方法or属性:MEDIUM = 1|@ohos.taskpool.d.ts|
|函数有变化|类名:Priority;<br>方法or属性:LOW|类名:Priority;<br>方法or属性:LOW = 2|@ohos.taskpool.d.ts|
|函数有变化|类名:Base64Helper;<br>方法or属性:encodeToStringSync(src: Uint8Array): string;|类名:Base64Helper;<br>方法or属性:encodeToStringSync(src: Uint8Array, options?: Type): string;|@ohos.util.d.ts|
|函数有变化|类名:Base64Helper;<br>方法or属性:decodeSync(src: Uint8Array \| string): Uint8Array;|类名:Base64Helper;<br>方法or属性:decodeSync(src: Uint8Array \| string, options?: Type): Uint8Array;|@ohos.util.d.ts|
|函数有变化|类名:Base64Helper;<br>方法or属性:encodeToString(src: Uint8Array): Promise\<string>;|类名:Base64Helper;<br>方法or属性:encodeToString(src: Uint8Array, options?: Type): Promise\<string>;|@ohos.util.d.ts|
|函数有变化|类名:Base64Helper;<br>方法or属性:decode(src: Uint8Array \| string): Promise\<Uint8Array>;|类名:Base64Helper;<br>方法or属性:decode(src: Uint8Array \| string, options?: Type): Promise\<Uint8Array>;|@ohos.util.d.ts|
|跨平台能力有变化|类名:buffer;<br>方法or属性:type BufferEncoding =<br> \| 'ascii'<br> \| 'utf8'<br> \| 'utf-8'<br> \| 'utf16le'<br> \| 'ucs2'<br> \| 'ucs-2'<br> \| 'base64'<br> \| 'base64url'<br> \| 'latin1'<br> \| 'binary'<br> \| 'hex';<br>旧版本信息:|类名:buffer;<br>方法or属性:type BufferEncoding =<br> \| 'ascii'<br> \| 'utf8'<br> \| 'utf-8'<br> \| 'utf16le'<br> \| 'ucs2'<br> \| 'ucs-2'<br> \| 'base64'<br> \| 'base64url'<br> \| 'latin1'<br> \| 'binary'<br> \| 'hex';<br>新版本信息:crossplatform|@ohos.buffer.d.ts|
|跨平台能力有变化|类名:TypedArray;<br>方法or属性:interface TypedArray<br>旧版本信息:|类名:TypedArray;<br>方法or属性:interface TypedArray<br>新版本信息:crossplatform|@ohos.buffer.d.ts|
|跨平台能力有变化|类名:Buffer;<br>方法or属性:class Buffer<br>旧版本信息:|类名:Buffer;<br>方法or属性:class Buffer<br>新版本信息:crossplatform|@ohos.buffer.d.ts|
|跨平台能力有变化|类名:Blob;<br>方法or属性:class Blob<br>旧版本信息:|类名:Blob;<br>方法or属性:class Blob<br>新版本信息:crossplatform|@ohos.buffer.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:type EventListener = (evt: Object) => void;<br>旧版本信息:|类名:process;<br>方法or属性:type EventListener = (evt: Object) => void;<br>新版本信息:crossplatform|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function runCmd(<br><br> command: string,<br><br> options?: ConditionType<br><br> ): ChildProcess;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function runCmd(<br><br> command: string,<br><br> options?: ConditionType<br><br> ): ChildProcess;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function on(type: string, listener: EventListener): void;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function on(type: string, listener: EventListener): void;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function off(type: string): boolean;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function off(type: string): boolean;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function exit(code: number): void;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function exit(code: number): void;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function cwd(): string;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function cwd(): string;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:process;<br>方法or属性:function chdir(dir: string): void;<br>旧版本信息:crossplatform|类名:process;<br>方法or属性:function chdir(dir: string): void;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:export interface ChildProcess<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:export interface ChildProcess<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:readonly pid: number;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:readonly pid: number;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:readonly ppid: number;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:readonly ppid: number;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:readonly exitCode: number;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:readonly exitCode: number;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:readonly killed: boolean;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:readonly killed: boolean;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:wait(): Promise\<number>;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:wait(): Promise\<number>;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:getOutput(): Promise\<Uint8Array>;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:getOutput(): Promise\<Uint8Array>;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:getErrorOutput(): Promise\<Uint8Array>;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:getErrorOutput(): Promise\<Uint8Array>;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:close(): void;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:close(): void;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:ChildProcess;<br>方法or属性:kill(signal: number \| string): void;<br>旧版本信息:crossplatform|类名:ChildProcess;<br>方法or属性:kill(signal: number \| string): void;<br>新版本信息:|@ohos.process.d.ts|
|跨平台能力有变化|类名:taskpool;<br>方法or属性:declare taskpool<br>旧版本信息:|类名:taskpool;<br>方法or属性:declare taskpool<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:taskpool;<br>方法or属性:function execute(func: Function, ...args: unknown[]): Promise\<unknown>;<br>旧版本信息:|类名:taskpool;<br>方法or属性:function execute(func: Function, ...args: unknown[]): Promise\<unknown>;<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:taskpool;<br>方法or属性:function execute(task: Task, priority?: Priority): Promise\<unknown>;<br>旧版本信息:|类名:taskpool;<br>方法or属性:function execute(task: Task, priority?: Priority): Promise\<unknown>;<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>旧版本信息:|类名:taskpool;<br>方法or属性:function cancel(task: Task): void;<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Priority;<br>方法or属性:enum Priority<br>旧版本信息:|类名:Priority;<br>方法or属性:enum Priority<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Priority;<br>方法or属性:HIGH = 0<br>旧版本信息:|类名:Priority;<br>方法or属性:HIGH = 0<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Priority;<br>方法or属性:MEDIUM = 1<br>旧版本信息:|类名:Priority;<br>方法or属性:MEDIUM = 1<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Priority;<br>方法or属性:LOW = 2<br>旧版本信息:|类名:Priority;<br>方法or属性:LOW = 2<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Task;<br>方法or属性:class Task<br>旧版本信息:|类名:Task;<br>方法or属性:class Task<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Task;<br>方法or属性:constructor(func: Function, ...args: unknown[]);<br>旧版本信息:|类名:Task;<br>方法or属性:constructor(func: Function, ...args: unknown[]);<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Task;<br>方法or属性:function: Function;<br>旧版本信息:|类名:Task;<br>方法or属性:function: Function;<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:Task;<br>方法or属性:arguments?: unknown[];<br>旧版本信息:|类名:Task;<br>方法or属性:arguments?: unknown[];<br>新版本信息:crossplatform|@ohos.taskpool.d.ts|
|跨平台能力有变化|类名:ArrayList;<br>方法or属性:declare class ArrayList<br>旧版本信息:|类名:ArrayList;<br>方法or属性:declare class ArrayList<br>新版本信息:crossplatform|@ohos.util.ArrayList.d.ts|
|跨平台能力有变化|类名:Scope;<br>方法or属性:class Scope<br>旧版本信息:crossplatform|类名:Scope;<br>方法or属性:class Scope<br>新版本信息:|@ohos.util.d.ts|
|跨平台能力有变化|类名:ScopeHelper;<br>方法or属性:getLower(): ScopeType;<br>旧版本信息:|类名:ScopeHelper;<br>方法or属性:getLower(): ScopeType;<br>新版本信息:crossplatform|@ohos.util.d.ts|
|跨平台能力有变化|类名:Deque;<br>方法or属性:declare class Deque<br>旧版本信息:|类名:Deque;<br>方法or属性:declare class Deque<br>新版本信息:crossplatform|@ohos.util.Deque.d.ts|
|跨平台能力有变化|类名:HashMap;<br>方法or属性:declare class HashMap<br>旧版本信息:|类名:HashMap;<br>方法or属性:declare class HashMap<br>新版本信息:crossplatform|@ohos.util.HashMap.d.ts|
|跨平台能力有变化|类名:HashSet;<br>方法or属性:declare class HashSet<br>旧版本信息:|类名:HashSet;<br>方法or属性:declare class HashSet<br>新版本信息:crossplatform|@ohos.util.HashSet.d.ts|
|跨平台能力有变化|类名:LightWeightMap;<br>方法or属性:declare class LightWeightMap<br>旧版本信息:|类名:LightWeightMap;<br>方法or属性:declare class LightWeightMap<br>新版本信息:crossplatform|@ohos.util.LightWeightMap.d.ts|
|跨平台能力有变化|类名:LightWeightSet;<br>方法or属性:declare class LightWeightSet<br>旧版本信息:|类名:LightWeightSet;<br>方法or属性:declare class LightWeightSet<br>新版本信息:crossplatform|@ohos.util.LightWeightSet.d.ts|
|跨平台能力有变化|类名:LinkedList;<br>方法or属性:declare class LinkedList<br>旧版本信息:|类名:LinkedList;<br>方法or属性:declare class LinkedList<br>新版本信息:crossplatform|@ohos.util.LinkedList.d.ts|
|跨平台能力有变化|类名:List;<br>方法or属性:declare class List<br>旧版本信息:|类名:List;<br>方法or属性:declare class List<br>新版本信息:crossplatform|@ohos.util.List.d.ts|
|跨平台能力有变化|类名:PlainArray;<br>方法or属性:declare class PlainArray<br>旧版本信息:|类名:PlainArray;<br>方法or属性:declare class PlainArray<br>新版本信息:crossplatform|@ohos.util.PlainArray.d.ts|
|跨平台能力有变化|类名:Queue;<br>方法or属性:declare class Queue<br>旧版本信息:|类名:Queue;<br>方法or属性:declare class Queue<br>新版本信息:crossplatform|@ohos.util.Queue.d.ts|
|跨平台能力有变化|类名:Stack;<br>方法or属性:declare class Stack<br>旧版本信息:|类名:Stack;<br>方法or属性:declare class Stack<br>新版本信息:crossplatform|@ohos.util.Stack.d.ts|
|跨平台能力有变化|类名:TreeMap;<br>方法or属性:declare class TreeMap<br>旧版本信息:|类名:TreeMap;<br>方法or属性:declare class TreeMap<br>新版本信息:crossplatform|@ohos.util.TreeMap.d.ts|
|跨平台能力有变化|类名:TreeSet;<br>方法or属性:declare class TreeSet<br>旧版本信息:|类名:TreeSet;<br>方法or属性:declare class TreeSet<br>新版本信息:crossplatform|@ohos.util.TreeSet.d.ts|
|跨平台能力有变化|类名:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>旧版本信息:crossplatform|类名:WorkerEventTarget;<br>方法or属性:addEventListener(type: string, listener: WorkerEventListener): void;<br>新版本信息:|@ohos.worker.d.ts|
|跨平台能力有变化|类名:XmlSerializer;<br>方法or属性:constructor(buffer: ArrayBuffer \| DataView, encoding?: string);<br>旧版本信息:|类名:XmlSerializer;<br>方法or属性:constructor(buffer: ArrayBuffer \| DataView, encoding?: string);<br>新版本信息:crossplatform|@ohos.xml.d.ts|
|跨平台能力有变化|类名:XmlPullParser;<br>方法or属性:constructor(buffer: ArrayBuffer \| DataView, encoding?: string);<br>旧版本信息:|类名:XmlPullParser;<br>方法or属性:constructor(buffer: ArrayBuffer \| DataView, encoding?: string);<br>新版本信息:crossplatform|@ohos.xml.d.ts|
|跨平台能力有变化|类名:EventType;<br>方法or属性:enum EventType<br>旧版本信息:|类名:EventType;<br>方法or属性:enum EventType<br>新版本信息:crossplatform|@ohos.xml.d.ts|
|跨平台能力有变化|类名:ParseInfo;<br>方法or属性:interface ParseInfo<br>旧版本信息:|类名:ParseInfo;<br>方法or属性:interface ParseInfo<br>新版本信息:crossplatform|@ohos.xml.d.ts|
|跨平台能力有变化|类名:ParseOptions;<br>方法or属性:interface ParseOptions<br>旧版本信息:|类名:ParseOptions;<br>方法or属性:interface ParseOptions<br>新版本信息:crossplatform|@ohos.xml.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:browser;<br>方法or属性:function setPolicies(admin: Want, appId: string, policies: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.browser.d.ts|
|新增|NA|类名:browser;<br>方法or属性:function setPolicies(admin: Want, appId: string, policies: string): Promise\<void>;|@ohos.enterprise.browser.d.ts|
|新增|NA|类名:browser;<br>方法or属性:function getPolicies(admin: Want, appId: string, callback: AsyncCallback\<string>): void;|@ohos.enterprise.browser.d.ts|
|新增|NA|类名:browser;<br>方法or属性:function getPolicies(admin: Want, appId: string): Promise\<string>;|@ohos.enterprise.browser.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function addDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function removeDisallowedUninstallBundles(admin: Want, appIds: Array\<string>, userId?: number): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, userId: number, callback: AsyncCallback\<Array\<string>>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function getDisallowedUninstallBundles(admin: Want, userId?: number): Promise\<Array\<string>>;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId: number, isKeepData: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:bundleManager;<br>方法or属性:function uninstall(admin: Want, bundleName: string, userId?: number, isKeepData?: boolean): Promise\<void>;|@ohos.enterprise.bundleManager.d.ts|
|新增|NA|类名:deviceSettings;<br>方法or属性:function getScreenOffTime(admin: Want, callback: AsyncCallback\<number>): void;|@ohos.enterprise.deviceSettings.d.ts|
|新增|NA|类名:deviceSettings;<br>方法or属性:function getScreenOffTime(admin: Want): Promise\<number>;|@ohos.enterprise.deviceSettings.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function addIptablesFilterRule(admin: Want, filterRule: AddFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule, callback: AsyncCallback\<void>): void;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function removeIptablesFilterRule(admin: Want, filterRule: RemoveFilterRule): Promise\<void>;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function listIptablesFilterRules(admin: Want, callback: AsyncCallback\<string>): void;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:networkManager;<br>方法or属性:function listIptablesFilterRules(admin: Want): Promise\<string>;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddMethod;<br>方法or属性:APPEND = 0|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddMethod;<br>方法or属性:INSERT = 1|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Direction;<br>方法or属性:INPUT = 0|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Direction;<br>方法or属性:OUTPUT = 1|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Action;<br>方法or属性:ALLOW = 0|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Action;<br>方法or属性:DENY = 1|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Protocol;<br>方法or属性:ALL = 0|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Protocol;<br>方法or属性:TCP = 1|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Protocol;<br>方法or属性:UDP = 2|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:Protocol;<br>方法or属性:ICMP = 3|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:ruleNo?: number;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:srcAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:srcAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:destAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:destAddr?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:srcPort?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:srcPort?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:destPort?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:destPort?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:uid?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:uid?: string;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:method: AddMethod;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:direction: Direction;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:direction: Direction;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:action: Action;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:AddFilterRule;<br>方法or属性:protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:protocol?: Protocol;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:RemoveFilterRule;<br>方法or属性:action?: Action;|@ohos.enterprise.networkManager.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function setPrinterDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function setPrinterDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function isPrinterDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function isPrinterDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function setHdcDisabled(admin: Want, disabled: boolean, callback: AsyncCallback\<void>): void;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function setHdcDisabled(admin: Want, disabled: boolean): Promise\<void>;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function isHdcDisabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.restrictions.d.ts|
|新增|NA|类名:restrictions;<br>方法or属性:function isHdcDisabled(admin: Want): Promise\<boolean>;|@ohos.enterprise.restrictions.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:hiSysEvent;<br>方法or属性:function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:hiSysEvent;<br>方法or属性:function subscribe(rules: QueryRule[]): number;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:hiSysEvent;<br>方法or属性:function unsubscribe(): void;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:QueryArg;<br>方法or属性:fromSeq?: number;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:QueryArg;<br>方法or属性:toSeq?: number;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:QueryRule;<br>方法or属性:condition?: string;|@ohos.hiSysEvent.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function list(logType: string): LogEntry[];|@ohos.logLibrary.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function copy(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function copy(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function move(logType: string, logName: string, dest: string): Promise\<void>;|@ohos.logLibrary.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function move(logType: string, logName: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.logLibrary.d.ts|
|新增|NA|类名:logLibrary;<br>方法or属性:function remove(logType: string, logName: string): void;|@ohos.logLibrary.d.ts|
|新增|NA|类名:LogEntry;<br>方法or属性:name: string;|@ohos.logLibrary.d.ts|
|新增|NA|类名:LogEntry;<br>方法or属性:mtime: number;|@ohos.logLibrary.d.ts|
|新增|NA|类名:LogEntry;<br>方法or属性:size: number;|@ohos.logLibrary.d.ts|
|新增(错误码)|类名:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信息:401,11200001,11200002,11200003,11200004,11200051,11200052,11200053,11200054|@ohos.hiSysEvent.d.ts|
|新增(错误码)|类名:hiAppEvent;<br>方法or属性:function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:hiAppEvent;<br>方法or属性:function write(info: AppEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信息:401,11100001,11101001,11101002,11101003,11101004,11101005,11101006|@ohos.hiviewdfx.hiAppEvent.d.ts|
|错误码有变化|类名:hiSysEvent;<br>方法or属性:function addWatcher(watcher: Watcher): void;<br>旧版本信息:201,401,11200101,11200102|类名:hiSysEvent;<br>方法or属性:function addWatcher(watcher: Watcher): void;<br>新版本信息:201,202,401,11200101,11200102|@ohos.hiSysEvent.d.ts|
|错误码有变化|类名:hiSysEvent;<br>方法or属性:function removeWatcher(watcher: Watcher): void;<br>旧版本信息:201,401,11200201|类名:hiSysEvent;<br>方法or属性:function removeWatcher(watcher: Watcher): void;<br>新版本信息:201,202,401,11200201|@ohos.hiSysEvent.d.ts|
|错误码有变化|类名:hiSysEvent;<br>方法or属性:function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>旧版本信息:201,401,11200301,11200302,11200303,11200304|类名:hiSysEvent;<br>方法or属性:function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;<br>新版本信息:201,202,401,11200301,11200302,11200303,11200304|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:hiSysEvent;<br>方法or属性:function write(info: SysEventInfo, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:SysEventInfo;<br>方法or属性:domain: string;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:domain: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:WatchRule;<br>方法or属性:domain: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:domain: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:QueryRule;<br>方法or属性:domain: string;<br>旧版本信息:|类名:QueryRule;<br>方法or属性:domain: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:SysEventInfo;<br>方法or属性:name: string;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:name: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:WatchRule;<br>方法or属性:name: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:name: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:SysEventInfo;<br>方法or属性:eventType: EventType;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:eventType: EventType;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:SysEventInfo;<br>方法or属性:params: object;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:params: object;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:WatchRule;<br>方法or属性:tag: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:tag: string;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:WatchRule;<br>方法or属性:ruleType: RuleType;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:ruleType: RuleType;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:Watcher;<br>方法or属性:rules: WatchRule[];<br>旧版本信息:|类名:Watcher;<br>方法or属性:rules: WatchRule[];<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:QueryArg;<br>方法or属性:beginTime: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:beginTime: number;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:QueryArg;<br>方法or属性:endTime: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:endTime: number;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:QueryArg;<br>方法or属性:maxEvents: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:maxEvents: number;<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|访问级别有变化|类名:QueryRule;<br>方法or属性:names: string[];<br>旧版本信息:|类名:QueryRule;<br>方法or属性:names: string[];<br>新版本信息:systemapi|@ohos.hiSysEvent.d.ts|
|type有变化|类名:SysEventInfo;<br>方法or属性:domain: string;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:domain: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:WatchRule;<br>方法or属性:domain: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:domain: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:QueryRule;<br>方法or属性:domain: string;<br>旧版本信息:|类名:QueryRule;<br>方法or属性:domain: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:SysEventInfo;<br>方法or属性:name: string;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:name: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:WatchRule;<br>方法or属性:name: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:name: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:SysEventInfo;<br>方法or属性:eventType: EventType;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:eventType: EventType;<br>新版本信息:EventType|@ohos.hiSysEvent.d.ts|
|type有变化|类名:SysEventInfo;<br>方法or属性:params: object;<br>旧版本信息:|类名:SysEventInfo;<br>方法or属性:params: object;<br>新版本信息:object|@ohos.hiSysEvent.d.ts|
|type有变化|类名:WatchRule;<br>方法or属性:tag: string;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:tag: string;<br>新版本信息:string|@ohos.hiSysEvent.d.ts|
|type有变化|类名:WatchRule;<br>方法or属性:ruleType: RuleType;<br>旧版本信息:|类名:WatchRule;<br>方法or属性:ruleType: RuleType;<br>新版本信息:RuleType|@ohos.hiSysEvent.d.ts|
|type有变化|类名:QueryArg;<br>方法or属性:beginTime: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:beginTime: number;<br>新版本信息:number|@ohos.hiSysEvent.d.ts|
|type有变化|类名:QueryArg;<br>方法or属性:endTime: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:endTime: number;<br>新版本信息:number|@ohos.hiSysEvent.d.ts|
|type有变化|类名:QueryArg;<br>方法or属性:maxEvents: number;<br>旧版本信息:|类名:QueryArg;<br>方法or属性:maxEvents: number;<br>新版本信息:number|@ohos.hiSysEvent.d.ts|
|type有变化|类名:QueryRule;<br>方法or属性:names: string[];<br>旧版本信息:|类名:QueryRule;<br>方法or属性:names: string[];<br>新版本信息:string[]|@ohos.hiSysEvent.d.ts|
|type有变化|类名:HiTraceId;<br>方法or属性:chainId: bigint;<br>旧版本信息:|类名:HiTraceId;<br>方法or属性:chainId: bigint;<br>新版本信息:bigint|@ohos.hiTraceChain.d.ts|
|type有变化|类名:HiTraceId;<br>方法or属性:spanId?: number;<br>旧版本信息:|类名:HiTraceId;<br>方法or属性:spanId?: number;<br>新版本信息:?number|@ohos.hiTraceChain.d.ts|
|type有变化|类名:HiTraceId;<br>方法or属性:parentSpanId?: number;<br>旧版本信息:|类名:HiTraceId;<br>方法or属性:parentSpanId?: number;<br>新版本信息:?number|@ohos.hiTraceChain.d.ts|
|type有变化|类名:HiTraceId;<br>方法or属性:flags?: number;<br>旧版本信息:|类名:HiTraceId;<br>方法or属性:flags?: number;<br>新版本信息:?number|@ohos.hiTraceChain.d.ts|
|跨平台能力有变化|类名:hilog;<br>方法or属性:declare hilog<br>旧版本信息:|类名:hilog;<br>方法or属性:declare hilog<br>新版本信息:crossplatform|@ohos.hilog.d.ts|
|跨平台能力有变化|类名:hiTraceMeter;<br>方法or属性:declare hiTraceMeter<br>旧版本信息:|类名:hiTraceMeter;<br>方法or属性:declare hiTraceMeter<br>新版本信息:crossplatform|@ohos.hiTraceMeter.d.ts|
|跨平台能力有变化|类名:hiTraceMeter;<br>方法or属性:function startTrace(name: string, taskId: number): void;<br>旧版本信息:|类名:hiTraceMeter;<br>方法or属性:function startTrace(name: string, taskId: number): void;<br>新版本信息:crossplatform|@ohos.hiTraceMeter.d.ts|
|跨平台能力有变化|类名:hiTraceMeter;<br>方法or属性:function finishTrace(name: string, taskId: number): void;<br>旧版本信息:|类名:hiTraceMeter;<br>方法or属性:function finishTrace(name: string, taskId: number): void;<br>新版本信息:crossplatform|@ohos.hiTraceMeter.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:Action;<br>方法or属性:CLEAR_CLOUD_INFO|NA|@ohos.data.cloudData.d.ts|
|删除|类名:Action;<br>方法or属性:CLEAR_CLOUD_DATA_AND_INFO|NA|@ohos.data.cloudData.d.ts|
|新增|NA|类名:ClearAction;<br>方法or属性:CLEAR_CLOUD_INFO|@ohos.data.cloudData.d.ts|
|新增|NA|类名:ClearAction;<br>方法or属性:CLEAR_CLOUD_DATA_AND_INFO|@ohos.data.cloudData.d.ts|
|新增|NA|类名:Config;<br>方法or属性:static clear(<br> accountId: string,<br> appActions: { [bundleName: string]: ClearAction },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.cloudData.d.ts|
|新增|NA|类名:Config;<br>方法or属性:static clear(accountId: string, appActions: { [bundleName: string]: ClearAction }): Promise\<void>;|@ohos.data.cloudData.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function getPreferences(context: Context, options: Options, callback: AsyncCallback\<Preferences>): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function getPreferences(context: Context, options: Options): Promise\<Preferences>;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function deletePreferences(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function deletePreferences(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function removePreferencesFromCache(context: Context, options: Options, callback: AsyncCallback\<void>): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function removePreferencesFromCache(context: Context, options: Options): Promise\<void>;|@ohos.data.preferences.d.ts|
|新增|NA|类名:preferences;<br>方法or属性:function removePreferencesFromCacheSync(context: Context, name: string): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Options;<br>方法or属性:name: string;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Options;<br>方法or属性:dataGroupId?: string;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:getSync(key: string, defValue: ValueType): ValueType;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:getAllSync(): Object;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:hasSync(key: string): boolean;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:putSync(key: string, value: ValueType): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:deleteSync(key: string): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:clearSync(): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:on(type: 'multiProcessChange', callback: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:Preferences;<br>方法or属性:off(type: 'multiProcessChange', callback?: Callback\<{ key: string }>): void;|@ohos.data.preferences.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:type Assets = Asset[];|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:type PRIKeyType = number \| string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:type UTCTime = Date;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:type ModifyTime = Map\<PRIKeyType, UTCTime>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:function deleteRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:relationalStore;<br>方法or属性:function deleteRdbStore(context: Context, config: StoreConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_NORMAL|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_INSERT|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_UPDATE|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_DELETE|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_ABNORMAL|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:AssetStatus;<br>方法or属性:ASSET_DOWNLOADING|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:name: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:uri: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:path: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:createTime: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:modifyTime: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:size: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Asset;<br>方法or属性:status?: AssetStatus;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:StoreConfig;<br>方法or属性:dataGroupId?: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:SYNC_BEGIN|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:SYNC_IN_PROGRESS|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:SYNC_FINISH|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Statistic;<br>方法or属性:total: number;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Statistic;<br>方法or属性:successful: number;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Statistic;<br>方法or属性:failed: number;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:Statistic;<br>方法or属性:remained: number;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:TableDetails;<br>方法or属性:upload: Statistic;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:TableDetails;<br>方法or属性:download: Statistic;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:SUCCESS|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:UNKNOWN_ERROR|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:NETWORK_ERROR|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:CLOUD_DISABLED|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:LOCKED_BY_OTHERS|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:RECORD_LIMIT_EXCEEDED|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressCode;<br>方法or属性:NO_SPACE_FOR_ASSET|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressDetails;<br>方法or属性:schedule: Progress;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressDetails;<br>方法or属性:code: ProgressCode;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ProgressDetails;<br>方法or属性:details: {<br> [table: string]: TableDetails;<br> };|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:SyncMode;<br>方法or属性:SYNC_MODE_TIME_FIRST|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:SyncMode;<br>方法or属性:SYNC_MODE_NATIVE_FIRST|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:SyncMode;<br>方法or属性:SYNC_MODE_CLOUD_FIRST|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:SubscribeType;<br>方法or属性:SUBSCRIBE_TYPE_CLOUD_DETAILS|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeType;<br>方法or属性:DATA_CHANGE|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeType;<br>方法or属性:ASSET_CHANGE|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeInfo;<br>方法or属性:table: string;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeInfo;<br>方法or属性:type: ChangeType;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeInfo;<br>方法or属性:inserted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeInfo;<br>方法or属性:updated: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ChangeInfo;<br>方法or属性:deleted: Array\<string> \| Array\<number>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:DistributedType;<br>方法or属性:DISTRIBUTED_DEVICE|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:DistributedType;<br>方法or属性:DISTRIBUTED_CLOUD|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:DistributedConfig;<br>方法or属性:autoSync: boolean;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ResultSet;<br>方法or属性:getAsset(columnIndex: number): Asset;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:ResultSet;<br>方法or属性:getAssets(columnIndex: number): Assets;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:getModifyTime(table: string, columnName: string, primaryKeys: PRIKeyType[]): Promise\<ModifyTime>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:getModifyTime(<br> table: string,<br> columnName: string,<br> primaryKeys: PRIKeyType[],<br> callback: AsyncCallback\<ModifyTime><br> ): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:setDistributedTables(tables: Array\<string>, type: DistributedType, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:setDistributedTables(<br> tables: Array\<string>,<br> type: DistributedType,<br> config: DistributedConfig,<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:setDistributedTables(tables: Array\<string>, type?: DistributedType, config?: DistributedConfig): Promise\<void>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>, callback: AsyncCallback\<void>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:cloudSync(<br> mode: SyncMode,<br> tables: string[],<br> progress: Callback\<ProgressDetails>,<br> callback: AsyncCallback\<void><br> ): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:cloudSync(mode: SyncMode, tables: string[], progress: Callback\<ProgressDetails>): Promise\<void>;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:on(event: 'dataChange', type: SubscribeType, observer: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:on(event: string, interProcess: boolean, observer: Callback\<void>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:off(<br> event: 'dataChange',<br> type: SubscribeType,<br> observer?: Callback\<Array\<string>> \| Callback\<Array\<ChangeInfo>><br> ): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:off(event: string, interProcess: boolean, observer?: Callback\<void>): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:RdbStore;<br>方法or属性:emit(event: string): void;|@ohos.data.relationalStore.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:type Options = {<br> /**<br> * indicates the target Intention<br> *<br> * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br> * @since 10<br> */<br> intention?: Intention;<br><br> /**<br> * indicates the unique identifier of target UnifiedData<br> *<br> * @syscap SystemCapability.DistributedDataManager.UDMF.Core<br> * @since 10<br> */<br> key?: string;<br> };|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function insertData(options: Options, data: UnifiedData, callback: AsyncCallback\<string>): void;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function insertData(options: Options, data: UnifiedData): Promise\<string>;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function updateData(options: Options, data: UnifiedData, callback: AsyncCallback\<void>): void;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function updateData(options: Options, data: UnifiedData): Promise\<void>;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function queryData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function queryData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function deleteData(options: Options, callback: AsyncCallback\<Array\<UnifiedData>>): void;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UDMF;<br>方法or属性:function deleteData(options: Options): Promise\<Array\<UnifiedData>>;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:UnifiedDataType;<br>方法or属性:AUDIO = 'File.Media.Audio'|@ohos.data.UDMF.d.ts|
|新增|NA|类名:Audio;<br>方法or属性:audioUri: string;|@ohos.data.UDMF.d.ts|
|新增|NA|类名:Intention;<br>方法or属性:DATA_HUB = 'DataHub'|@ohos.data.UDMF.d.ts|
|错误码有变化|类名:DataAbilityPredicates;<br>方法or属性:limitAs(value: number): DataAbilityPredicates;<br>旧版本信息:IllegalPredicateException|类名:DataAbilityPredicates;<br>方法or属性:limitAs(value: number): DataAbilityPredicates;<br>新版本信息:|@ohos.data.dataAbility.d.ts|
|错误码有变化|类名:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>旧版本信息:401,14800000,14800010,14800011|类名:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback\<RdbStore>): void;<br>新版本信息:401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
|错误码有变化|类名:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>旧版本信息:401,14800000,14800010,14800011|类名:relationalStore;<br>方法or属性:function getRdbStore(context: Context, config: StoreConfig): Promise\<RdbStore>;<br>新版本信息:401,14800000,14800010,14800011,14801001,14801002|@ohos.data.relationalStore.d.ts|
|访问级别有变化|类名:dataSharePredicates;<br>方法or属性:declare dataSharePredicates<br>旧版本信息:systemapi|类名:dataSharePredicates;<br>方法or属性:declare dataSharePredicates<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:class DataSharePredicates<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:class DataSharePredicates<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:equalTo(field: string, value: ValueType): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:equalTo(field: string, value: ValueType): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:and(): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:and(): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:orderByAsc(field: string): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:orderByAsc(field: string): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:orderByDesc(field: string): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:orderByDesc(field: string): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:limit(total: number, offset: number): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:limit(total: number, offset: number): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:DataSharePredicates;<br>方法or属性:in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>旧版本信息:systemapi|类名:DataSharePredicates;<br>方法or属性:in(field: string, value: Array\<ValueType>): DataSharePredicates;<br>新版本信息:|@ohos.data.dataSharePredicates.d.ts|
|访问级别有变化|类名:sourcefile;<br>方法or属性:export type ValueType = number \| string \| boolean;<br>旧版本信息:systemapi|类名:sourcefile;<br>方法or属性:export type ValueType = number \| string \| boolean;<br>新版本信息:|@ohos.data.ValuesBucket.d.ts|
|访问级别有变化|类名:sourcefile;<br>方法or属性:export type ValuesBucket = {<br><br> [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>旧版本信息:systemapi|类名:sourcefile;<br>方法or属性:export type ValuesBucket = {<br><br> [key: string]: ValueType \| Uint8Array \| null;<br><br>};<br>新版本信息:|@ohos.data.ValuesBucket.d.ts|
|type有变化|类名:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;<br>旧版本信息:|类名:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;<br>新版本信息:ExtensionContext|@ohos.application.DataShareExtensionAbility.d.ts|
|函数有变化|类名:DataShareExtensionAbility;<br>方法or属性:context?: ExtensionContext;|类名:DataShareExtensionAbility;<br>方法or属性:context: ExtensionContext;|@ohos.application.DataShareExtensionAbility.d.ts|
|函数有变化|类名:PublishedItem;<br>方法or属性:data: string \| Ashmem;|类名:PublishedItem;<br>方法or属性:data: string \| ArrayBuffer;|@ohos.data.dataShare.d.ts|
|函数有变化|类名:relationalStore;<br>方法or属性:type ValueType = null \| number \| string \| boolean \| Uint8Array;|类名:relationalStore;<br>方法or属性:type ValueType = null \| number \| string \| boolean \| Uint8Array \| Asset \| Assets;|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:StoreConfig;<br>方法or属性:securityLevel: SecurityLevel;<br>旧版本信息:|类名:StoreConfig;<br>方法or属性:securityLevel: SecurityLevel;<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:SecurityLevel;<br>方法or属性:enum SecurityLevel<br>旧版本信息:|类名:SecurityLevel;<br>方法or属性:enum SecurityLevel<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:SecurityLevel;<br>方法or属性:S1 = 1<br>旧版本信息:|类名:SecurityLevel;<br>方法or属性:S1 = 1<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:SecurityLevel;<br>方法or属性:S2 = 2<br>旧版本信息:|类名:SecurityLevel;<br>方法or属性:S2 = 2<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:SecurityLevel;<br>方法or属性:S3 = 3<br>旧版本信息:|类名:SecurityLevel;<br>方法or属性:S3 = 3<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
|跨平台能力有变化|类名:SecurityLevel;<br>方法or属性:S4 = 4<br>旧版本信息:|类名:SecurityLevel;<br>方法or属性:S4 = 4<br>新版本信息:crossplatform|@ohos.data.relationalStore.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:distributedDeviceManager;<br>方法or属性:function createDeviceManager(bundleName: string): DeviceManager;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:distributedDeviceManager;<br>方法or属性:function releaseDeviceManager(deviceManager: DeviceManager): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceId: string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceName: string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:deviceType: number;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceBasicInfo;<br>方法or属性:networkId?: string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceStateChange;<br>方法or属性:UNKNOWN = 0|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceStateChange;<br>方法or属性:AVAILABLE = 1|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceStateChange;<br>方法or属性:UNAVAILABLE = 2|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceListSync(): Array\<DeviceBasicInfo>;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceList(callback: AsyncCallback\<Array\<DeviceBasicInfo>>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getAvailableDeviceList(): Promise\<Array\<DeviceBasicInfo>>;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceNetworkId(): string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceName(): string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceType(): number;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getLocalDeviceId(): string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceName(networkId: string): string;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getDeviceType(networkId: string): number;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:startDiscovering(discoverParam: { [key: string]: Object }, filterOptions?: { [key: string]: Object }): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:stopDiscovering(): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:bindTarget(deviceId: string, bindParam: { [key: string]: Object }, callback: AsyncCallback\<{deviceId: string}>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:unbindTarget(deviceId: string): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:replyUiAction(action: number, actionResult: string): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'discoverSuccess', callback: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'deviceNameChange', callback: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFailure', callback: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'replyResult', callback: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChange, device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'discoverSuccess', callback?: Callback\<{ device: DeviceBasicInfo }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'deviceNameChange', callback?: Callback\<{ deviceName: string }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFailure', callback?: Callback\<{ reason: number }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: Callback\<{}>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'replyResult', callback?: Callback\<{ param: string }>): void;|@ohos.distributedDeviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(isRefresh: boolean): Array\<DeviceInfo>;|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信息:202|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信息:202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>旧版本信息:401|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信息:11600101|类名:DeviceManager;<br>方法or属性:release(): void;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信息:11600101|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信息:202,401|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信息:11600101|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信息:202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信息:401,201,11600104,11600101|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信息:401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信息:401,201,11600104,11600101|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信息:401,202,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信息:401,201,11600105,11600101|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信息:401,202,201,11600105,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信息:401,201,11600101|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信息:401,202,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信息:401,202,201|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|错误码有变化|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信息:401|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信息:401,202|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceId: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceId: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceName: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceName: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:deviceType: DeviceType;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:networkId: string;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:networkId: string;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:range: number;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:range: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceInfo;<br>方法or属性:authForm: AuthForm;<br>旧版本信息:|类名:DeviceInfo;<br>方法or属性:authForm: AuthForm;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthForm;<br>方法or属性:INVALID_TYPE = -1<br>旧版本信息:|类名:AuthForm;<br>方法or属性:INVALID_TYPE = -1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthForm;<br>方法or属性:PEER_TO_PEER = 0<br>旧版本信息:|类名:AuthForm;<br>方法or属性:PEER_TO_PEER = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthForm;<br>方法or属性:IDENTICAL_ACCOUNT = 1<br>旧版本信息:|类名:AuthForm;<br>方法or属性:IDENTICAL_ACCOUNT = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthForm;<br>方法or属性:ACROSS_ACCOUNT = 2<br>旧版本信息:|类名:AuthForm;<br>方法or属性:ACROSS_ACCOUNT = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>旧版本信息:|类名:DeviceType;<br>方法or属性:UNKNOWN_TYPE = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>旧版本信息:|类名:DeviceType;<br>方法or属性:SPEAKER = 0x0A<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:PHONE = 0x0E<br>旧版本信息:|类名:DeviceType;<br>方法or属性:PHONE = 0x0E<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:TABLET = 0x11<br>旧版本信息:|类名:DeviceType;<br>方法or属性:TABLET = 0x11<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>旧版本信息:|类名:DeviceType;<br>方法or属性:WEARABLE = 0x6D<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:CAR = 0x83<br>旧版本信息:|类名:DeviceType;<br>方法or属性:CAR = 0x83<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:TV = 0x9C<br>旧版本信息:|类名:DeviceType;<br>方法or属性:TV = 0x9C<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:ONLINE = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:READY = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:OFFLINE = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>旧版本信息:|类名:DeviceStateChangeAction;<br>方法or属性:CHANGE = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:subscribeId: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:mode: DiscoverMode;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:medium: ExchangeMedium;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:freq: ExchangeFreq;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:isSameAccount: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:isWakeRemote: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>旧版本信息:|类名:SubscribeInfo;<br>方法or属性:capability: SubscribeCap;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:PublishInfo;<br>方法or属性:publishId: number;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:publishId: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:PublishInfo;<br>方法or属性:ranging: boolean;<br>旧版本信息:|类名:PublishInfo;<br>方法or属性:ranging: boolean;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>旧版本信息:|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_PASSIVE = 0x55<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>旧版本信息:|类名:DiscoverMode;<br>方法or属性:DISCOVER_MODE_ACTIVE = 0xAA<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:AUTO = 0<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:AUTO = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:BLE = 1<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:BLE = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:COAP = 2<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:COAP = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeMedium;<br>方法or属性:USB = 3<br>旧版本信息:|类名:ExchangeMedium;<br>方法or属性:USB = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:LOW = 0<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:LOW = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:MID = 1<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:MID = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:HIGH = 2<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:HIGH = 2<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>旧版本信息:|类名:ExchangeFreq;<br>方法or属性:SUPER_HIGH = 3<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>旧版本信息:|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_DDMP = 0<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>旧版本信息:|类名:SubscribeCap;<br>方法or属性:SUBSCRIBE_CAPABILITY_OSD = 1<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthParam;<br>方法or属性:authType: number;<br>旧版本信息:|类名:AuthParam;<br>方法or属性:authType: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthInfo;<br>方法or属性:authType: number;<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:authType: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信息:|类名:AuthParam;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:extraInfo: { [key: string]: any };<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:AuthInfo;<br>方法or属性:token: number;<br>旧版本信息:|类名:AuthInfo;<br>方法or属性:token: number;<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:release(): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback: AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string, callback: AsyncCallback\<DeviceInfo>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getDeviceInfo(networkId: string): Promise\<DeviceInfo>;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:authenticateDevice(<br> deviceInfo: DeviceInfo,<br> authParam: AuthParam,<br> callback: AsyncCallback\<{ deviceId: string, pinToken?: number }><br> ): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{ deviceId: string, level: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:requestCredentialRegisterInfo(requestInfo: string, callback: AsyncCallback\<{ registerInfo: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:importCredential(credentialInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:deleteCredential(queryInfo: string, callback: AsyncCallback\<{ resultInfo: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
|权限有变化|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信息:ohos.permission.ACCESS_SERVICE_DM|@ohos.distributedHardware.deviceManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:agent;<br>方法or属性:function create(context: BaseContext, config: Config, callback: AsyncCallback\<Task>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function create(context: BaseContext, config: Config): Promise\<Task>;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function remove(id: string, callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function remove(id: string): Promise\<void>;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function show(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function show(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function touch(id: string, token: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function touch(id: string, token: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function search(filter: Filter, callback: AsyncCallback\<Array\<string>>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function search(filter: Filter): Promise\<Array\<string>>;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function query(id: string, callback: AsyncCallback\<TaskInfo>): void;|@ohos.request.d.ts|
|新增|NA|类名:agent;<br>方法or属性:function query(id: string): Promise\<TaskInfo>;|@ohos.request.d.ts|
|新增|NA|类名:Action;<br>方法or属性:DOWNLOAD|@ohos.request.d.ts|
|新增|NA|类名:Action;<br>方法or属性:UPLOAD|@ohos.request.d.ts|
|新增|NA|类名:Mode;<br>方法or属性:BACKGROUND|@ohos.request.d.ts|
|新增|NA|类名:Mode;<br>方法or属性:FOREGROUND|@ohos.request.d.ts|
|新增|NA|类名:Network;<br>方法or属性:ANY|@ohos.request.d.ts|
|新增|NA|类名:Network;<br>方法or属性:WIFI|@ohos.request.d.ts|
|新增|NA|类名:Network;<br>方法or属性:CELLULAR|@ohos.request.d.ts|
|新增|NA|类名:FileSpec;<br>方法or属性:path: string;|@ohos.request.d.ts|
|新增|NA|类名:FileSpec;<br>方法or属性:mimeType?: string;|@ohos.request.d.ts|
|新增|NA|类名:FileSpec;<br>方法or属性:filename?: string;|@ohos.request.d.ts|
|新增|NA|类名:FileSpec;<br>方法or属性:extras?: object;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:extras?: object;|@ohos.request.d.ts|
|新增|NA|类名:FormItem;<br>方法or属性:name: string;|@ohos.request.d.ts|
|新增|NA|类名:FormItem;<br>方法or属性:value: string \| FileSpec \| Array\<FileSpec>;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:action: Action;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:url: string;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:title?: string;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:description?: string;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:mode?: Mode;|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:mode?: Mode;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:overwrite?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:method?: string;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:headers?: object;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:data?: string \| Array\<FormItem>;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:saveas?: string;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:network?: Network;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:metered?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:roaming?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:retry?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:redirect?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:index?: number;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:begins?: number;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:ends?: number;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:gauge?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:precise?: boolean;|@ohos.request.d.ts|
|新增|NA|类名:Config;<br>方法or属性:token?: string;|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:INITIALIZED = 0x00|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:WAITING = 0x10|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:RUNNING = 0x20|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:RETRYING = 0x21|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:PAUSED = 0x30|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:STOPPED = 0x31|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:COMPLETED = 0x40|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:FAILED = 0x41|@ohos.request.d.ts|
|新增|NA|类名:State;<br>方法or属性:REMOVED = 0x50|@ohos.request.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:readonly state: State;|@ohos.request.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:readonly index: number;|@ohos.request.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:readonly processed: number;|@ohos.request.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:readonly sizes: Array\<number>;|@ohos.request.d.ts|
|新增|NA|类名:Progress;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts|
|新增|NA|类名:Faults;<br>方法or属性:OTHERS = 0xFF|@ohos.request.d.ts|
|新增|NA|类名:Faults;<br>方法or属性:DISCONNECTED = 0x00|@ohos.request.d.ts|
|新增|NA|类名:Faults;<br>方法or属性:TIMEOUT = 0x10|@ohos.request.d.ts|
|新增|NA|类名:Faults;<br>方法or属性:PROTOCOL = 0x20|@ohos.request.d.ts|
|新增|NA|类名:Faults;<br>方法or属性:FSIO = 0x40|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:bundle?: string;|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:before?: number;|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:after?: number;|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:state?: State;|@ohos.request.d.ts|
|新增|NA|类名:Filter;<br>方法or属性:action?: Action;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly uid?: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly bundle?: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly saveas?: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly url?: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly data?: string \| Array\<FormItem>;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:readonly tid: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly title: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly description: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly action: Action;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly mode: Mode;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly mimeType: string;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly progress: Progress;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly gauge: boolean;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly ctime: number;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly mtime: number;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly retry: boolean;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly tries: number;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly faults: Faults;|@ohos.request.d.ts|
|新增|NA|类名:TaskInfo;<br>方法or属性:readonly reason: string;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:config: Config;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:on(event: 'progress', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:on(event: 'completed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:off(event: 'progress', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:off(event: 'completed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:off(event: 'failed', callback?: (progress: Progress) => void): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:start(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:start(): Promise\<void>;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:pause(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:pause(): Promise\<void>;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:resume(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:resume(): Promise\<void>;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;|@ohos.request.d.ts|
|新增|NA|类名:Task;<br>方法or属性:stop(): Promise\<void>;|@ohos.request.d.ts|
|权限有变化|类名:request;<br>方法or属性:declare request<br>旧版本信息:ohos.permission.INTERNET|类名:request;<br>方法or属性:declare request<br>新版本信息:|@ohos.request.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:context: DriverExtensionContext;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:onInit(want: Want): void;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:onRelease(): void;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:onConnect(want: Want): rpc.RemoteObject \| Promise\<rpc.RemoteObject>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:onDisconnect(want: Want): void \| Promise\<void>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:DriverExtensionAbility;<br>方法or属性:onDump(params: Array\<string>): Array\<string>;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|新增|NA|类名:deviceManager;<br>方法or属性:function queryDevices(busType?: number): Array\<Readonly\<Device>>;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:deviceManager;<br>方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>,<br><br> callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:deviceManager;<br>方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\<number>): Promise\<{deviceId: number,<br><br> remote: rpc.IRemoteObject}>;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:deviceManager;<br>方法or属性:function unbindDevice(deviceId: number, callback: AsyncCallback\<number>): void;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:deviceManager;<br>方法or属性:function unbindDevice(deviceId: number): Promise\<number>;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:BusType;<br>方法or属性:USB = 1|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:Device;<br>方法or属性:busType: BusType;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:Device;<br>方法or属性:deviceId: number;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:Device;<br>方法or属性:description: string;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:USBDevice;<br>方法or属性:vendorId: number;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:USBDevice;<br>方法or属性:productId: number;|@ohos.driver.deviceManager.d.ts|
|新增|NA|类名:DriverExtensionContext;<br>方法or属性:updateDriverState(): void;|DriverExtensionContext.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:SyncState;<br>方法or属性:UPLOADING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;<br>方法or属性:UPLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;<br>方法or属性:DOWNLOADING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;<br>方法or属性:DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:NO_ERROR|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;<br>方法or属性:LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncProgress;<br>方法or属性:state: SyncState;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncProgress;<br>方法or属性:error: ErrorType;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:start(): Promise\<void>;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:start(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:stop(): Promise\<void>;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;<br>方法or属性:RUNNING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;<br>方法or属性:FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;<br>方法or属性:state: State;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;<br>方法or属性:processed: number;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;<br>方法or属性:size: number;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;<br>方法or属性:uri: string;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:start(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:start(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:stop(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;<br>方法or属性:stop(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function enableCloud(<br> accountId: string,<br> switches: { [bundleName: string]: boolean },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:Action;<br>方法or属性:RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:Action;<br>方法or属性:CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\<RandomAccessFile>;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:readonly fd: number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:readonly filePointer: number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:close(): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:writeSync(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;<br>方法or属性:readSync(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): number;|@ohos.file.fs.d.ts|
|新增|NA|类名:photoAccessHelper;<br>方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:photoAccessHelper;<br>方法or属性:type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoType;<br>方法or属性:IMAGE = 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoType;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoSubtype;<br>方法or属性:DEFAULT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PositionType;<br>方法or属性:LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PositionType;<br>方法or属性:CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly uri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:open(mode: string, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:open(mode: string): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:close(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:close(fd: number): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(size?: image.Size): Promise\<image.PixelMap>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;<br>方法or属性:HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumKeys;<br>方法or属性:ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchOptions;<br>方法or属性:fetchColumns: Array\<string>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchOptions;<br>方法or属性:predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:CreateOptions;<br>方法or属性:title?: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getCount(): number;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getFirstObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getFirstObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getNextObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getNextObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getLastObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getLastObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getAllObjects(callback: AsyncCallback\<Array\<T>>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:getAllObjects(): Promise\<Array\<T>>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;<br>方法or属性:close(): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumType;<br>方法or属性:USER = 0|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumType;<br>方法or属性:SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:HIDDEN|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:TRASH|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:CAMERA|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;<br>方法or属性:ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:albumName: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly count: number;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:setCoverUri(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;<br>方法or属性:setCoverUri(uri: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string): Promise\<Album>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:release(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:release(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;<br>方法or属性:type: NotifyType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;<br>方法or属性:uris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;<br>方法or属性:extraUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:document;<br>方法or属性:declare document<br>旧版本信息:|类名:document;<br>方法or属性:declare document<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.access|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.access|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.close|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.createStream|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fsync|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fdatasync|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口: ohos.file.hash.hash|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.lstat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.readText|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.read|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.read|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.rename|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.rmdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.symlink|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.unlink|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.write|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.write|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>新版本信息:10<br>代替接口: ohos.file.fs.createWatcher|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;<br>方法or属性:declare interface Dir<br>旧版本信息:|类名:Dir;<br>方法or属性:declare interface Dir<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;<br>方法or属性:declare interface Watcher<br>旧版本信息:|类名:Watcher;<br>方法or属性:declare interface Watcher<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Statfs;<br>方法or属性:declare Statfs<br>旧版本信息:|类名:Statfs;<br>方法or属性:declare Statfs<br>新版本信息:9<br>代替接口: ohos.file.statvfs.statfs|@ohos.statfs.d.ts|
|废弃版本有变化|类名:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>旧版本信息:|类名:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>新版本信息:9<br>代替接口: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts|
|废弃版本有变化|类名:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>旧版本信息:|类名:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>新版本信息:9<br>代替接口: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:export interface FileResponse<br>旧版本信息:|类名:FileResponse;<br>方法or属性:export interface FileResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:length: number;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:length: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>旧版本信息:|类名:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:srcUri: string;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:srcUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:srcUri: string;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:srcUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:dstUri: string;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:dstUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:dstUri: string;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:dstUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListResponse;<br>方法or属性:export interface FileListResponse<br>旧版本信息:|类名:FileListResponse;<br>方法or属性:export interface FileListResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>旧版本信息:|类名:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;<br>方法or属性:export interface FileListOption<br>旧版本信息:|类名:FileListOption;<br>方法or属性:export interface FileListOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:export interface FileGetOption<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:export interface FileGetOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:text: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:text: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextResponse;<br>方法or属性:text: string;<br>旧版本信息:|类名:FileReadTextResponse;<br>方法or属性:text: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:encoding?: string;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:encoding?: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>旧版本信息:|类名:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:length?: number;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:length?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>旧版本信息:|类名:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>旧版本信息:|类名:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:export default class File<br>旧版本信息:|类名:File;<br>方法or属性:export default class File<br>新版本信息:10<br>代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.moveFile|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.copyFile|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static list(options: FileListOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static list(options: FileListOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.listFile|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static get(options: FileGetOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static get(options: FileGetOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.stat|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.unlink|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.write|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.readText|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.write|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.read|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.access|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.mkdir|@system.file.d.ts|
|废弃版本有变化|类名:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.rmdir|@system.file.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>新版本信息:401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:fstat|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:close|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:close|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信息:stop|@ohos.fileio.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|访问级别有变化|类名:Volume;<br>方法or属性:path: string;<br>旧版本信息:|类名:Volume;<br>方法or属性:path: string;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts|
|权限有变化|类名:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信息:ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts|
|权限有变化|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>新版本信息:ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts|
|type有变化|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>旧版本信息:PhotoViewMIMETypes|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>新版本信息:?PhotoViewMIMETypes|@ohos.file.picker.d.ts|
|type有变化|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>旧版本信息:number|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>新版本信息:?number|@ohos.file.picker.d.ts|
|type有变化|类名:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts|
|type有变化|类名:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts|
|type有变化|类名:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string): Promise\<boolean>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function accessSync(path: string): boolean;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function accessSync(path: string): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): Promise\<string[]>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): Promise\<string[]>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(path: string, callback: AsyncCallback\<string[]>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(path: string, callback: AsyncCallback\<string[]>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFileSync(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): string[];<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFileSync(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): string[];<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<string>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<string>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readTextSync(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): string;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readTextSync(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): string;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:sourcefile;<br>方法or属性:export type Filter = {<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> suffix?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> fileSizeOver?: number;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type { ?boolean }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> excludeMedia?: boolean;<br>};<br>旧版本信息:|类名:sourcefile;<br>方法or属性:export type Filter = {<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> suffix?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> fileSizeOver?: number;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type { ?boolean }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> excludeMedia?: boolean;<br>};<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
|跨平台能力有变化|类名:fileIo;<br>方法or属性:declare fileIo<br>旧版本信息:|类名:fileIo;<br>方法or属性:declare fileIo<br>新版本信息:crossplatform|@ohos.file.fs.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:geoLocationManager;<br>方法or属性:function on(type: 'locatingRequiredDataChange', config: LocatingRequiredDataConfig, callback: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:geoLocationManager;<br>方法or属性:function off(type: 'locatingRequiredDataChange', callback?: Callback\<Array\<LocatingRequiredData>>): void;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:geoLocationManager;<br>方法or属性:function getLocatingRequiredData(config: LocatingRequiredDataConfig): Promise\<Array\<LocatingRequiredData>>;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataConfig;<br>方法or属性:type: LocatingRequiredDataType;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataConfig;<br>方法or属性:needStartScan: boolean;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataConfig;<br>方法or属性:scanInterval?: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataConfig;<br>方法or属性:scanTimeout?: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredData;<br>方法or属性:wifiData?: WifiScanInfo;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredData;<br>方法or属性:bluetoothData?: BluetoothScanInfo;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:WifiScanInfo;<br>方法or属性:ssid: string;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:WifiScanInfo;<br>方法or属性:bssid: string;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:WifiScanInfo;<br>方法or属性:rssi: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:BluetoothScanInfo;<br>方法or属性:rssi: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:WifiScanInfo;<br>方法or属性:frequency: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:WifiScanInfo;<br>方法or属性:timestamp: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:BluetoothScanInfo;<br>方法or属性:timestamp: number;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:BluetoothScanInfo;<br>方法or属性:deviceName: string;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:BluetoothScanInfo;<br>方法or属性:macAddress: string;|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataType;<br>方法or属性:WIFI = 1|@ohos.geoLocationManager.d.ts|
|新增|NA|类名:LocatingRequiredDataType;<br>方法or属性:BLUETOOTH|@ohos.geoLocationManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_NONE = 0|@ohos.i18n.d.ts|
|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_RELATED = 1|@ohos.i18n.d.ts|
|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_SIM = 2|@ohos.i18n.d.ts|
|新增|NA|类名:SortOptions;<br>方法or属性:locale?: string;|@ohos.i18n.d.ts|
|新增|NA|类名:SortOptions;<br>方法or属性:isUseLocalName?: boolean;|@ohos.i18n.d.ts|
|新增|NA|类名:SortOptions;<br>方法or属性:isSuggestedFirst?: boolean;|@ohos.i18n.d.ts|
|新增|NA|类名:LocaleItem;<br>方法or属性:id: string;|@ohos.i18n.d.ts|
|新增|NA|类名:LocaleItem;<br>方法or属性:suggestionType: SuggestionType;|@ohos.i18n.d.ts|
|新增|NA|类名:LocaleItem;<br>方法or属性:displayName: string;|@ohos.i18n.d.ts|
|新增|NA|类名:LocaleItem;<br>方法or属性:localName?: string;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:zoneId: string;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:cityId: string;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:cityDisplayName: string;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:offset: number;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:zoneDisplayName: string;|@ohos.i18n.d.ts|
|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:rawOffset?: number;|@ohos.i18n.d.ts|
|新增|NA|类名:SystemLocaleManager;<br>方法or属性:constructor();|@ohos.i18n.d.ts|
|新增|NA|类名:SystemLocaleManager;<br>方法or属性:getLanguageInfoArray(languages: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
|新增|NA|类名:SystemLocaleManager;<br>方法or属性:getRegionInfoArray(regions: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
|新增|NA|类名:SystemLocaleManager;<br>方法or属性:static getTimeZoneCityItemArray(): Array\<TimeZoneCityItem>;|@ohos.i18n.d.ts|
|新增|NA|类名:resourceManager;<br>方法or属性:export function getSystemResourceManager(): ResourceManager;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resId: number, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resId: number): Promise\<number>;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resource: Resource, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resource: Resource): Promise\<number>;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByName(resName: string, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByName(resName: string): Promise\<number>;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColorSync(resId: number) : number;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColorSync(resource: Resource) : number;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByNameSync(resName: string) : number;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:addResource(path: string) : void;|@ohos.resourceManager.d.ts|
|新增|NA|类名:ResourceManager;<br>方法or属性:removeResource(path: string) : void;|@ohos.resourceManager.d.ts|
|跨平台能力有变化|类名:DateTimeOptions;<br>方法or属性:year?: string;<br>旧版本信息:|类名:DateTimeOptions;<br>方法or属性:year?: string;<br>新版本信息:crossplatform|@ohos.intl.d.ts|
|跨平台能力有变化|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_TABLET = 0x01<br>旧版本信息:crossplatform|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_TABLET = 0x01<br>新版本信息:|@ohos.resourceManager.d.ts|
|跨平台能力有变化|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_CAR = 0x02<br>旧版本信息:crossplatform|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_CAR = 0x02<br>新版本信息:|@ohos.resourceManager.d.ts|
|跨平台能力有变化|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_PC = 0x03<br>旧版本信息:crossplatform|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_PC = 0x03<br>新版本信息:|@ohos.resourceManager.d.ts|
|跨平台能力有变化|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_TV = 0x04<br>旧版本信息:crossplatform|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_TV = 0x04<br>新版本信息:|@ohos.resourceManager.d.ts|
|跨平台能力有变化|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_WEARABLE = 0x06<br>旧版本信息:crossplatform|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_WEARABLE = 0x06<br>新版本信息:|@ohos.resourceManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:InputMethodSetting;<br>方法or属性:on(type: 'imeShow' \| 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodSetting;<br>方法or属性:off(type: 'imeShow' \| 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:on(type: 'deleteLeft' \| 'deleteRight', callback: (length: number) => void): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:on(type: 'sendKeyboardStatus', callback: (keyBoardStatus: KeyboardStatus) => void): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByRange'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'selectByMovement'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'insertText'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'deleteLeft' \| 'deleteRight'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'moveCursor'): void;|NA|@ohos.inputMethod.d.ts|
|删除|类名:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction'): void;|NA|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodSetting;<br>方法or属性:on(type: 'imeShow', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodSetting;<br>方法or属性:on(type: 'imeHide', callback: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodSetting;<br>方法or属性:off(type: 'imeShow', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodSetting;<br>方法or属性:off(type: 'imeHide', callback?: (info: Array\<InputWindowInfo>) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'deleteLeft', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'deleteRight', callback: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:on(type: 'getTextIndexAtCursor', callback: () => number): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'selectByRange', callback?: Callback\<Range>): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'selectByMovement', callback?: Callback\<Movement>): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'insertText', callback?: (text: string) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'deleteLeft', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'deleteRight', callback?: (length: number) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'moveCursor', callback?: (direction: Direction) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:InputMethodController;<br>方法or属性:off(type: 'getTextIndexAtCursor', callback?: () => number): void;|@ohos.inputMethod.d.ts|
|新增|NA|类名:TextConfig;<br>方法or属性:cursorInfo?: CursorInfo;|@ohos.inputMethod.d.ts|
|新增|NA|类名:TextConfig;<br>方法or属性:selection?: Range;|@ohos.inputMethod.d.ts|
|新增|NA|类名:TextConfig;<br>方法or属性:windowId?: number;|@ohos.inputMethod.d.ts|
|新增|NA|类名:KeyboardDelegate;<br>方法or属性:on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|新增|NA|类名:KeyboardDelegate;<br>方法or属性:on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
|新增|NA|类名:KeyboardDelegate;<br>方法or属性:off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;|@ohos.inputMethodEngine.d.ts|
|新增|NA|类名:KeyboardDelegate;<br>方法or属性:off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;|@ohos.inputMethodEngine.d.ts|
|新增|NA|类名:wallpaper;<br>方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback\<void>): void;|@ohos.wallpaper.d.ts|
|新增|NA|类名:wallpaper;<br>方法or属性:function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise\<void>;|@ohos.wallpaper.d.ts|
|新增|NA|类名:WallpaperExtensionAbility;<br>方法or属性:onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts|
|新增|NA|类名:WallpaperExtensionAbility;<br>方法or属性:onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts|
|新增|NA|类名:WallpaperExtensionAbility;<br>方法or属性:onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts|
|错误码有变化|类名:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>旧版本信息:202|类名:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;<br>新版本信息:401,202|@ohos.wallpaper.d.ts|
|type有变化|类名:InputMethodProperty;<br>方法or属性:readonly labelId?: number;<br>旧版本信息:|类名:InputMethodProperty;<br>方法or属性:readonly labelId?: number;<br>新版本信息:?number|@ohos.inputMethod.d.ts|
|type有变化|类名:InputMethodProperty;<br>方法or属性:readonly iconId?: number;<br>旧版本信息:|类名:InputMethodProperty;<br>方法or属性:readonly iconId?: number;<br>新版本信息:?number|@ohos.inputMethod.d.ts|
|type有变化|类名:Movement;<br>方法or属性:direction: Direction;<br>旧版本信息:number|类名:Movement;<br>方法or属性:direction: Direction;<br>新版本信息:Direction|@ohos.inputMethod.d.ts|
|type有变化|类名:TextConfig;<br>方法or属性:inputAttribute: InputAttribute;<br>旧版本信息:|类名:TextConfig;<br>方法or属性:inputAttribute: InputAttribute;<br>新版本信息:InputAttribute|@ohos.inputMethod.d.ts|
|type有变化|类名:Movement;<br>方法or属性:direction: Direction;<br>旧版本信息:number|类名:Movement;<br>方法or属性:direction: Direction;<br>新版本信息:Direction|@ohos.inputMethodEngine.d.ts|
|type有变化|类名:InputMethodSubtype;<br>方法or属性:readonly labelId?: number;<br>旧版本信息:|类名:InputMethodSubtype;<br>方法or属性:readonly labelId?: number;<br>新版本信息:?number|@ohos.InputMethodSubtype.d.ts|
|函数有变化|类名:Panel;<br>方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|类名:Panel;<br>方法or属性:on(type: 'show', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|函数有变化|类名:Panel;<br>方法or属性:on(type: 'show' \| 'hide', callback: () => void): void;|类名:Panel;<br>方法or属性:on(type: 'hide', callback: () => void): void;|@ohos.inputMethodEngine.d.ts|
|函数有变化|类名:Panel;<br>方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|类名:Panel;<br>方法or属性:off(type: 'show', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|函数有变化|类名:Panel;<br>方法or属性:off(type: 'show' \| 'hide', callback?: () => void): void;|类名:Panel;<br>方法or属性:off(type: 'hide', callback?: () => void): void;|@ohos.inputMethodEngine.d.ts|
|函数有变化|类名:wallpaper;<br>方法or属性:function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|类名:wallpaper;<br>方法or属性:function on(<br><br> type: 'wallpaperChange',<br><br> callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts|
|函数有变化|类名:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType) => void<br><br> ): void;|类名:wallpaper;<br>方法or属性:function off(<br><br> type: 'wallpaperChange',<br><br> callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void<br><br> ): void;|@ohos.wallpaper.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:CooperateMsg;<br>方法or属性:COOPERATE_SESSION_DISCONNECTED = 7|@ohos.cooperate.d.ts|
|新增|NA|类名:dragInteraction;<br>方法or属性:function on(type: 'drag', callback: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts|
|新增|NA|类名:dragInteraction;<br>方法or属性:function off(type: 'drag', callback?: Callback\<DragState>): void;|@ohos.deviceStatus.dragInteraction.d.ts|
|新增|NA|类名:DragState;<br>方法or属性:MSG_DRAG_STATE_START = 1|@ohos.deviceStatus.dragInteraction.d.ts|
|新增|NA|类名:DragState;<br>方法or属性:MSG_DRAG_STATE_STOP = 2|@ohos.deviceStatus.dragInteraction.d.ts|
|新增|NA|类名:DragState;<br>方法or属性:MSG_DRAG_STATE_CANCEL = 3|@ohos.deviceStatus.dragInteraction.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_PREPARE|类名:CooperateMsg;<br>方法or属性:COOPERATE_PREPARE = 0|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_UNPREPARE|类名:CooperateMsg;<br>方法or属性:COOPERATE_UNPREPARE = 1|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE = 2|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_SUCCESS|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_SUCCESS = 3|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_FAIL|类名:CooperateMsg;<br>方法or属性:COOPERATE_ACTIVATE_FAIL = 4|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_SUCCESS|类名:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_SUCCESS = 5|@ohos.cooperate.d.ts|
|函数有变化|类名:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_FAIL|类名:CooperateMsg;<br>方法or属性:COOPERATE_DEACTIVATE_FAIL = 6|@ohos.cooperate.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:Pinch;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:FourFingersSwipe;<br>方法or属性:type: ActionType;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:Pinch;<br>方法or属性:scale: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:FourFingersSwipe;<br>方法or属性:x: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ThreeFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:FourFingersSwipe;<br>方法or属性:y: number;|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ActionType;<br>方法or属性:CANCEL = 0|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ActionType;<br>方法or属性:BEGIN = 1|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ActionType;<br>方法or属性:UPDATE = 2|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:ActionType;<br>方法or属性:END = 3|@ohos.multimodalInput.gestureEvent.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatDelay(delay: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatDelay(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function setKeyboardRepeatRate(rate: number): Promise\<void>;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputDevice;<br>方法or属性:function getKeyboardRepeatRate(): Promise\<number>;|@ohos.multimodalInput.inputDevice.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'pinch', receiver: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'threeFingersSwipe', receiver: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function on(type: 'fourFingersSwipe', receiver: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'pinch', receiver?: Callback\<Pinch>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'threeFingersSwipe', receiver?: Callback\<ThreeFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:inputMonitor;<br>方法or属性:function off(type: 'fourFingersSwipe', receiver?: Callback\<FourFingersSwipe>): void;|@ohos.multimodalInput.inputMonitor.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_UNKNOWN = -1|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_UP = 1|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_DOWN = 2|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_LEFT = 3|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_RIGHT = 4|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_SELECT = 5|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ESCAPE = 6|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_BACK = 7|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_FORWARD = 8|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_MENU = 9|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_PAGE_UP = 11|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_PAGE_DOWN = 12|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ZOOM_OUT = 13|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:IntentionCode;<br>方法or属性:INTENTION_ZOOM_IN = 14|@ohos.multimodalInput.intentionCode.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadScrollDirection(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollDirection(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadScrollDirection(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadTapSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadTapSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadTapSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPointerSpeed(speed: number): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPointerSpeed(callback: AsyncCallback\<number>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPointerSpeed(): Promise\<number>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadPinchSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPinchSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadPinchSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadSwipeSwitch(state: boolean): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(callback: AsyncCallback\<boolean>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadSwipeSwitch(): Promise\<boolean>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType, callback: AsyncCallback\<void>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function setTouchpadRightClickType(type: RightClickType): Promise\<void>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadRightClickType(callback: AsyncCallback\<RightClickType>): void;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:pointer;<br>方法or属性:function getTouchpadRightClickType(): Promise\<RightClickType>;|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:PointerStyle;<br>方法or属性:HORIZONTAL_TEXT_CURSOR|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:PointerStyle;<br>方法or属性:CURSOR_CROSS|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:PointerStyle;<br>方法or属性:CURSOR_CIRCLE|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_RIGHT_BUTTON = 1|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_LEFT_BUTTON = 2|@ohos.multimodalInput.pointer.d.ts|
|新增|NA|类名:RightClickType;<br>方法or属性:TOUCHPAD_TWO_FINGER_TAP = 3|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMousePrimaryButton(primary: PrimaryButton): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMousePrimaryButton(callback: AsyncCallback\<PrimaryButton>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMousePrimaryButton(): Promise\<PrimaryButton>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setHoverScrollState(state: boolean): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getHoverScrollState(callback: AsyncCallback\<boolean>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getHoverScrollState(): Promise\<boolean>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function setMouseScrollRows(rows: number): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMouseScrollRows(callback: AsyncCallback\<number>): void;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>旧版本信息:401|类名:pointer;<br>方法or属性:function getMouseScrollRows(): Promise\<number>;<br>新版本信息:202,401|@ohos.multimodalInput.pointer.d.ts|
|错误码有变化|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401|@ohos.multimodalInput.shortKey.d.ts|
|错误码有变化|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>旧版本信息:401|类名:shortKey;<br>方法or属性:function setKeyDownDuration(businessKey: string, delay: number): Promise\<void>;<br>新版本信息:202,401|@ohos.multimodalInput.shortKey.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:avSession;<br>方法or属性:function on(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:avSession;<br>方法or属性:function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSession;<br>方法or属性:on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSession;<br>方法or属性:off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:OutputDeviceInfo;<br>方法or属性:isRemote: boolean;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:OutputDeviceInfo;<br>方法or属性:audioDeviceId: Array\<number>;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:OutputDeviceInfo;<br>方法or属性:deviceName: Array\<string>;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:ImageSource;<br>方法or属性:getDelayTime(): Promise\<Array\<number>>;|NA|@ohos.multimedia.image.d.ts|
|删除|类名:ImageSource;<br>方法or属性:getDelayTime(callback: AsyncCallback\<Array\<number>>): void;|NA|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:artist?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:duration?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:audio;<br>方法or属性:type AudioEffectInfoArray = Array\<Readonly\<AudioEffectMode>>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_MUSIC = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_VOICE_MESSAGE = 5|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_RINGTONE = 6|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_NOTIFICATION = 7|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_MOVIE = 10|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_GAME = 11|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_AUDIOBOOK = 12|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_NAVIGATION = 13|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_DTMF = 14|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_ENFORCED_TONE = 15|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;<br>方法or属性:STREAM_USAGE_ULTRASONIC = 16|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererOptions;<br>方法or属性:privacyType?: AudioPrivacyType;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioPrivacyType;<br>方法or属性:PRIVACY_TYPE_PUBLIC = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioPrivacyType;<br>方法or属性:PRIVACY_TYPE_PRIVATE = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeAdjustType;<br>方法or属性:VOLUME_UP = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeAdjustType;<br>方法or属性:VOLUME_DOWN = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;<br>方法or属性:getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback\<AudioEffectInfoArray>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;<br>方法or属性:getAudioEffectInfoArray(usage: StreamUsage): Promise\<AudioEffectInfoArray>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:isVolumeUnadjustable(): boolean;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:adjustVolumeByStep(adjustType: VolumeAdjustType, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:adjustVolumeByStep(adjustType: VolumeAdjustType): Promise\<void>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustType): Promise\<void>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType, callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;<br>方法or属性:getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: DeviceType): Promise\<number>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getAudioEffectMode(callback: AsyncCallback\<AudioEffectMode>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getAudioEffectMode(): Promise\<AudioEffectMode>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:setAudioEffectMode(mode: AudioEffectMode, callback: AsyncCallback\<void>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:setAudioEffectMode(mode: AudioEffectMode): Promise\<void>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getMinStreamVolume(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getMinStreamVolume(): Promise\<number>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getMaxStreamVolume(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getMaxStreamVolume(): Promise\<number>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getUnderflowCount(callback: AsyncCallback\<number>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getUnderflowCount(): Promise\<number>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getCurrentOutputDevices(callback: AsyncCallback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:getCurrentOutputDevices(): Promise\<AudioDeviceDescriptors>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;<br>方法or属性:off(type: 'outputDeviceChange', callback?: Callback\<AudioDeviceDescriptors>): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:SourceType;<br>方法or属性:SOURCE_TYPE_PLAYBACK_CAPTURE = 2|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerOptions;<br>方法or属性:playbackCaptureConfig?: AudioPlaybackCaptureConfig;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:CaptureFilterOptions;<br>方法or属性:usages: Array\<StreamUsage>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioPlaybackCaptureConfig;<br>方法or属性:filterOptions: CaptureFilterOptions;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturer;<br>方法or属性:off(type: 'audioInterrupt'): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioEffectMode;<br>方法or属性:EFFECT_NONE = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioEffectMode;<br>方法or属性:EFFECT_DEFAULT = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function on(type: 'sessionCreate', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function on(type: 'sessionDestroy', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function on(type: 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function on(type: 'deviceAvailable', callback: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function off(type: 'sessionCreate', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function off(type: 'sessionDestroy', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function off(type: 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function off(type: 'deviceAvailable', callback?: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function startCastDeviceDiscovery(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function startCastDeviceDiscovery(filter: number, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function startCastDeviceDiscovery(filter?: number): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function stopCastDeviceDiscovery(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function stopCastDeviceDiscovery(): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function setDiscoverable(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function setDiscoverable(enable: boolean): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function getAVCastController(sessionId: string, callback: AsyncCallback\<AVCastController>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function getAVCastController(sessionId: string): Promise\<AVCastController>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function startCasting(session: SessionToken, device: OutputDeviceInfo, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function startCasting(session: SessionToken, device: OutputDeviceInfo): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function stopCasting(session: SessionToken, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:function stopCasting(session: SessionToken): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;<br>方法or属性:type AVCastControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|<br> 'seek' \| 'setVolume' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ProtocolType;<br>方法or属性:TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ProtocolType;<br>方法or属性:TYPE_CAST_PLUS_MIRROR = 1|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ProtocolType;<br>方法or属性:TYPE_CAST_PLUS_STREAM = 2|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:readonly sessionType: AVSessionType;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:getAVCastController(callback: AsyncCallback\<AVCastController>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:getAVCastController(): Promise\<AVCastController>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'play', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'pause', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'stop', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'playNext', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'playPrevious', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'fastForward', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'rewind', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'play', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'pause', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'stop', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'playNext', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'playPrevious', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'fastForward', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'rewind', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:stopCasting(callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;<br>方法or属性:stopCasting(): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastControlCommand;<br>方法or属性:command: AVCastControlCommandType;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastControlCommand;<br>方法or属性:parameter?: media.PlaybackSpeed \| number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:setDisplaySurface(surfaceId: string, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:setDisplaySurface(surfaceId: string): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:sendControlCommand(command: AVCastControlCommand, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:sendControlCommand(command: AVCastControlCommand): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:start(item: AVQueueItem, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:start(item: AVQueueItem): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:prepare(item: AVQueueItem, callback: AsyncCallback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:prepare(item: AVQueueItem): Promise\<void>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:getCurrentItem(callback: AsyncCallback\<AVQueueItem>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:getCurrentItem(): Promise\<AVQueueItem>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'mediaItemChange', callback: Callback\<AVQueueItem>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'playNext', callback: Callback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'playPrevious', callback: Callback\<void>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'seekDone', callback: Callback\<number>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'mediaItemChange'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'playNext'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'playPrevious'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'seekDone'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'videoSizeChange'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastController;<br>方法or属性:off(type: 'error'): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ConnectionState;<br>方法or属性:STATE_CONNECTING = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ConnectionState;<br>方法or属性:STATE_CONNECTED = 1|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:ConnectionState;<br>方法or属性:STATE_DISCONNECTED = 6|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:mediaType?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:mediaSize?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:albumTitle?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:albumCoverUri?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:lyricContent?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:lyricUri?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:fdSrc?: media.AVFileDescriptor;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:startPosition?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:creditsPosition?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:appName?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;<br>方法or属性:volume?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastCategory;<br>方法or属性:CATEGORY_LOCAL = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVCastCategory;<br>方法or属性:CATEGORY_REMOTE = 1|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_LOCAL = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_TV = 2|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_SMART_SPEAKER = 3|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceType;<br>方法or属性:DEVICE_TYPE_BLUETOOTH = 10|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:castCategory: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:deviceId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:deviceName: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:deviceType: DeviceType;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:ipAddress?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:providerId?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:OutputDeviceInfo;<br>方法or属性:devices: Array\<DeviceInfo>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;<br>方法or属性:PLAYBACK_STATE_COMPLETED = 7|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;<br>方法or属性:PLAYBACK_STATE_RELEASED = 8|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;<br>方法or属性:PLAYBACK_STATE_ERROR = 9|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;<br>方法or属性:ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;<br>方法or属性:ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PrelaunchConfig;<br>方法or属性:cameraDevice: CameraDevice;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;<br>方法or属性:isPrelaunchSupported(camera: CameraDevice): boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;<br>方法or属性:setPrelaunchConfig(prelaunchConfig: PrelaunchConfig): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;<br>方法or属性:prelaunch(): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;<br>方法or属性:createDeferredPreviewOutput(profile: Profile): PreviewOutput;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;<br>方法or属性:addDeferredSurface(surfaceId: string): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;<br>方法or属性:on(type: 'quickThumbnail', callback: AsyncCallback\<image.PixelMap>): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;<br>方法or属性:isQuickThumbnailSupported(): boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;<br>方法or属性:enableQuickThumbnail(enabled: boolean): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:DATE_TIME = 'DateTime'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:GPS_TIME_STAMP = 'GPSTimeStamp'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:GPS_DATE_STAMP = 'GPSDateStamp'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:IMAGE_DESCRIPTION = 'ImageDescription'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:MAKE = 'Make'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:MODEL = 'Model'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:PHOTO_MODE = 'PhotoMode'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:SENSITIVITY_TYPE = 'SensitivityType'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:STANDARD_OUTPUT_SENSITIVITY = 'StandardOutputSensitivity'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:RECOMMENDED_EXPOSURE_INDEX = 'RecommendedExposureIndex'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:ISO_SPEED = 'ISOSpeedRatings'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:APERTURE_VALUE = 'ApertureValue'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:EXPOSURE_BIAS_VALUE = 'ExposureBiasValue'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:METERING_MODE = 'MeteringMode'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:LIGHT_SOURCE = 'LightSource'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:FLASH = 'Flash'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:FOCAL_LENGTH = 'FocalLength'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:USER_COMMENT = 'UserComment'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:PIXEL_X_DIMENSION = 'PixelXDimension'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:PIXEL_Y_DIMENSION = 'PixelYDimension'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:WHITE_BALANCE = 'WhiteBalance'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:FOCAL_LENGTH_IN_35_MM_FILM = 'FocalLengthIn35mmFilm'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:CAPTURE_MODE = 'HwMnoteCaptureMode'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;<br>方法or属性:PHYSICAL_APERTURE = 'HwMnotePhysicalAperture'|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:getColorSpace(): colorSpaceManager.ColorSpaceManager;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:marshalling(sequence: rpc.MessageSequence): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:unmarshalling(sequence: rpc.MessageSequence): Promise\<PixelMap>;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;<br>方法or属性:getDelayTimeList(): Promise\<Array\<number>>;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;<br>方法or属性:getDelayTimeList(callback: AsyncCallback\<Array\<number>>): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AVPlayer;<br>方法or属性:audioEffectMode ?: audio.AudioEffectMode;|@ohos.multimedia.media.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\<AVSession>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\<AVSession>;<br>新版本信息:401,6600101|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信息:201,6600101|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信息:201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信息:201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信息:201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信息:201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata): Promise\<void>;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState): Promise\<void>;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent): Promise\<void>;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:getController(): Promise\<AVSessionController>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:getController(): Promise\<AVSessionController>;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getOutputDevice(): Promise\<OutputDeviceInfo>;<br>新版本信息:600101,600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:activate(): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:activate(): Promise\<void>;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:deactivate(): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:deactivate(): Promise\<void>;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSession;<br>方法or属性:destroy(): Promise\<void>;<br>旧版本信息:|类名:AVSession;<br>方法or属性:destroy(): Promise\<void>;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:destroy(): Promise\<void>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:destroy(): Promise\<void>;<br>新版本信息:6600101,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getAVPlaybackState(): Promise\<AVPlaybackState>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getAVMetadata(): Promise\<AVMetadata>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getAVMetadata(): Promise\<AVMetadata>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信息:401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getLaunchAbility(): Promise\<WantAgent>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getLaunchAbility(): Promise\<WantAgent>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信息:401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>新版本信息:62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>新版本信息:62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>旧版本信息:401,{@link|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>新版本信息:401,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>旧版本信息:201,{@link|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>新版本信息:201,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>旧版本信息:201,401,{@link,{@link|类名:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>新版本信息:201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,{@link,{@link,{@link|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,6600101,6600102,6600104|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function on(type: 'sessionServiceDie', callback: () => void): void;<br>旧版本信息:201,401,{@link|类名:avSession;<br>方法or属性:function on(type: 'sessionServiceDie', callback: () => void): void;<br>新版本信息:201,401,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function off(type: 'sessionServiceDie', callback?: () => void): void;<br>旧版本信息:201,401,{@link|类名:avSession;<br>方法or属性:function off(type: 'sessionServiceDie', callback?: () => void): void;<br>新版本信息:201,401,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,{@link,{@link|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,6600101,6600105|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,{@link,{@link,{@link|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,6600101,6600105,6600107|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:setAVMetadata(data: AVMetadata, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:setLaunchAbility(ability: WantAgent, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\<void>;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:dispatchSessionEvent(event: string, args: {[key: string]: Object}): Promise\<void>;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}): Promise\<void>;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:setExtras(extras: {[key: string]: Object}): Promise\<void>;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:getController(callback: AsyncCallback\<AVSessionController>): void;<br>旧版本信息:{@link,{@link|类名:AVSession;<br>方法or属性:getController(callback: AsyncCallback\<AVSessionController>): void;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>旧版本信息:{@link,{@link|类名:AVSession;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>旧版本信息:{@link,{@link|类名:AVSessionController;<br>方法or属性:getOutputDevice(callback: AsyncCallback\<OutputDeviceInfo>): void;<br>新版本信息:600101,600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:on(type: 'seek', callback: (time: number) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:on(type: 'seek', callback: (time: number) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:on(type: 'setSpeed', callback: (speed: number) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:on(type: 'setSpeed', callback: (speed: number) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:on(type: 'toggleFavorite', callback: (assetId: string) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:off(type: 'seek', callback?: (time: number) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:off(type: 'seek', callback?: (time: number) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:off(type: 'setSpeed', callback?: (speed: number) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSession;<br>方法or属性:off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;<br>新版本信息:401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:activate(callback: AsyncCallback\<void>): void;<br>旧版本信息:{@link,{@link|类名:AVSession;<br>方法or属性:activate(callback: AsyncCallback\<void>): void;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:deactivate(callback: AsyncCallback\<void>): void;<br>旧版本信息:{@link,{@link|类名:AVSession;<br>方法or属性:deactivate(callback: AsyncCallback\<void>): void;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSession;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>旧版本信息:{@link,{@link|类名:AVSession;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>新版本信息:6600101,6600102|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>旧版本信息:{@link,{@link|类名:AVSessionController;<br>方法or属性:destroy(callback: AsyncCallback\<void>): void;<br>新版本信息:6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;<br>旧版本信息:{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:getAVPlaybackState(callback: AsyncCallback\<AVPlaybackState>): void;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getAVMetadata(callback: AsyncCallback\<AVMetadata>): void;<br>旧版本信息:{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:getAVMetadata(callback: AsyncCallback\<AVMetadata>): void;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link,{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\<void>): void;<br>新版本信息:401,600101,600102,600103,600105,600106|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getLaunchAbility(callback: AsyncCallback\<WantAgent>): void;<br>旧版本信息:{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:getLaunchAbility(callback: AsyncCallback\<WantAgent>): void;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getRealPlaybackPositionSync(): number;<br>旧版本信息:{@link,{@link|类名:AVSessionController;<br>方法or属性:getRealPlaybackPositionSync(): number;<br>新版本信息:6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:isActive(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:isActive(callback: AsyncCallback\<boolean>): void;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:getValidCommands(callback: AsyncCallback\<Array\<AVControlCommandType>>): void;<br>旧版本信息:{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:getValidCommands(callback: AsyncCallback\<Array\<AVControlCommandType>>): void;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,{@link,{@link,{@link,{@link,{@link,{@link|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand, callback: AsyncCallback\<void>): void;<br>新版本信息:401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'metadataChange', filter: Array\<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'metadataChange', filter: Array\<keyof AVMetadata> \| 'all', callback: (data: AVMetadata) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'playbackStateChange', filter: Array\<keyof AVPlaybackState> \| 'all', callback: (state: AVPlaybackState) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'sessionDestroy', callback: () => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'sessionDestroy', callback: () => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'activeStateChange', callback: (isActive: boolean) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'validCommandChange', callback: (commands: Array\<AVControlCommandType>) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'validCommandChange', callback: (commands: Array\<AVControlCommandType>) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'sessionEvent', callback: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:on(type: 'extrasChange', callback: (extras: {[key: string]: Object}) => void): void;<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'metadataChange', callback?: (data: AVMetadata) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'sessionDestroy', callback?: () => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'sessionDestroy', callback?: () => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'activeStateChange', callback?: (isActive: boolean) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'validCommandChange', callback?: (commands: Array\<AVControlCommandType>) => void);<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {[key: string]: Object}) => void): void;<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:AVSessionController;<br>方法or属性:off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;<br>旧版本信息:401,{@link,{@link|类名:AVSessionController;<br>方法or属性:off(type: 'extrasChange', callback?: (extras: {[key: string]: Object}) => void): void;<br>新版本信息:401,6600101,6600103|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:ConnectType;<br>方法or属性:CONNECT_TYPE_LOCAL = 1<br>旧版本信息:|类名:ConnectType;<br>方法or属性:CONNECT_TYPE_LOCAL = 1<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ConnectType;<br>方法or属性:CONNECT_TYPE_DISTRIBUTED = 2<br>旧版本信息:|类名:ConnectType;<br>方法or属性:CONNECT_TYPE_DISTRIBUTED = 2<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeGroupInfo;<br>方法or属性:readonly groupId: number;<br>旧版本信息:|类名:VolumeGroupInfo;<br>方法or属性:readonly groupId: number;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeGroupInfo;<br>方法or属性:readonly mappingId: number;<br>旧版本信息:|类名:VolumeGroupInfo;<br>方法or属性:readonly mappingId: number;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeGroupInfo;<br>方法or属性:readonly groupName: string;<br>旧版本信息:|类名:VolumeGroupInfo;<br>方法or属性:readonly groupName: string;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeGroupInfo;<br>方法or属性:readonly type: ConnectType;<br>旧版本信息:|类名:VolumeGroupInfo;<br>方法or属性:readonly type: ConnectType;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeEvent;<br>方法or属性:interface VolumeEvent<br>旧版本信息:systemapi|类名:VolumeEvent;<br>方法or属性:interface VolumeEvent<br>新版本信息:|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeEvent;<br>方法or属性:volumeGroupId: number;<br>旧版本信息:|类名:VolumeEvent;<br>方法or属性:volumeGroupId: number;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:VolumeEvent;<br>方法or属性:networkId: string;<br>旧版本信息:|类名:VolumeEvent;<br>方法or属性:networkId: string;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_0 = 0<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_0 = 0<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_1 = 1<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_1 = 1<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_2 = 2<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_2 = 2<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_3 = 3<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_3 = 3<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_4 = 4<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_4 = 4<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_5 = 5<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_5 = 5<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_6 = 6<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_6 = 6<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_7 = 7<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_7 = 7<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_8 = 8<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_8 = 8<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_9 = 9<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_9 = 9<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_S = 10<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_S = 10<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_P = 11<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_P = 11<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_A = 12<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_A = 12<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_B = 13<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_B = 13<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_C = 14<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_C = 14<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_D = 15<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_DIAL_D = 15<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_ACK = 201<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_ACK = 201<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204<br>旧版本信息:|类名:ToneType;<br>方法or属性:TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:load(type: ToneType, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:load(type: ToneType, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:load(type: ToneType): Promise\<void>;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:load(type: ToneType): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:start(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:start(callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:start(): Promise\<void>;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:start(): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:stop(): Promise\<void>;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:stop(): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:TonePlayer;<br>方法or属性:release(): Promise\<void>;<br>旧版本信息:|类名:TonePlayer;<br>方法or属性:release(): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.audio.d.ts|
|访问级别有变化|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:pid?: number;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:uid?: number;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:type: AVSessionType;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:type: AVSessionType;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:elementName: ElementName;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:elementName: ElementName;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|访问级别有变化|类名:AVSessionDescriptor;<br>方法or属性:outputDevice: OutputDeviceInfo;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:outputDevice: OutputDeviceInfo;<br>新版本信息:systemapi|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(): Promise\<Array\<Readonly\<AVSessionDescriptor>>>;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function createController(sessionId: string): Promise\<AVSessionController>;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\<audio.AudioDeviceDescriptor>): Promise\<void>;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\<void>;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信息:|类名:avSession;<br>方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:pid?: number;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|权限有变化|类名:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:uid?: number;<br>新版本信息:ohos.permission.MANAGE_MEDIA_RESOURCES|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AudioRendererInfo;<br>方法or属性:content?: ContentType;<br>旧版本信息:|类名:AudioRendererInfo;<br>方法or属性:content?: ContentType;<br>新版本信息:?ContentType|@ohos.multimedia.audio.d.ts|
|type有变化|类名:SessionToken;<br>方法or属性:sessionId: string;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:sessionId: string;<br>新版本信息:string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:sessionId: string;<br>新版本信息:string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:SessionToken;<br>方法or属性:pid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:pid?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:SessionToken;<br>方法or属性:uid?: number;<br>旧版本信息:|类名:SessionToken;<br>方法or属性:uid?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:assetId: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:assetId: string;<br>新版本信息:string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:title?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:title?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:title?: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:title?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:artist?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:artist?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:author?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:author?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:album?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:album?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:writer?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:writer?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:composer?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:composer?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:duration?: number;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:duration?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:publishDate?: Date;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:publishDate?: Date;<br>新版本信息:?Date|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:subtitle?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:subtitle?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:subtitle?: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:subtitle?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:description?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:description?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:description?: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:description?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:lyric?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:lyric?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:previousAssetId?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:previousAssetId?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMetadata;<br>方法or属性:nextAssetId?: string;<br>旧版本信息:|类名:AVMetadata;<br>方法or属性:nextAssetId?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:mediaId: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:mediaId: string;<br>新版本信息:string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:iconUri?: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:iconUri?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVMediaDescription;<br>方法or属性:mediaUri?: string;<br>旧版本信息:|类名:AVMediaDescription;<br>方法or属性:mediaUri?: string;<br>新版本信息:?string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVQueueItem;<br>方法or属性:itemId: number;<br>旧版本信息:|类名:AVQueueItem;<br>方法or属性:itemId: number;<br>新版本信息:number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVPlaybackState;<br>方法or属性:speed?: number;<br>旧版本信息:|类名:AVPlaybackState;<br>方法or属性:speed?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVPlaybackState;<br>方法or属性:bufferedTime?: number;<br>旧版本信息:|类名:AVPlaybackState;<br>方法or属性:bufferedTime?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVPlaybackState;<br>方法or属性:isFavorite?: boolean;<br>旧版本信息:|类名:AVPlaybackState;<br>方法or属性:isFavorite?: boolean;<br>新版本信息:?boolean|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVPlaybackState;<br>方法or属性:activeItemId?: number;<br>旧版本信息:|类名:AVPlaybackState;<br>方法or属性:activeItemId?: number;<br>新版本信息:?number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:PlaybackPosition;<br>方法or属性:elapsedTime: number;<br>旧版本信息:|类名:PlaybackPosition;<br>方法or属性:elapsedTime: number;<br>新版本信息:number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:PlaybackPosition;<br>方法or属性:updateTime: number;<br>旧版本信息:|类名:PlaybackPosition;<br>方法or属性:updateTime: number;<br>新版本信息:number|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:sessionTag: string;<br>新版本信息:string|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:isActive: boolean;<br>新版本信息:boolean|@ohos.multimedia.avsession.d.ts|
|type有变化|类名:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>旧版本信息:|类名:AVSessionDescriptor;<br>方法or属性:isTopSession: boolean;<br>新版本信息:boolean|@ohos.multimedia.avsession.d.ts|
|函数有变化|类名:AudioRendererInfo;<br>方法or属性:content: ContentType;|类名:AudioRendererInfo;<br>方法or属性:content?: ContentType;|@ohos.multimedia.audio.d.ts|
|函数有变化|类名:SessionToken;<br>方法or属性:pid: number;|类名:SessionToken;<br>方法or属性:pid?: number;|@ohos.multimedia.avsession.d.ts|
|函数有变化|类名:SessionToken;<br>方法or属性:uid: number;|类名:SessionToken;<br>方法or属性:uid?: number;|@ohos.multimedia.avsession.d.ts|
|函数有变化|类名:AVMediaDescription;<br>方法or属性:icon?: image.PixelMap \| string;|类名:AVMediaDescription;<br>方法or属性:icon?: image.PixelMap;|@ohos.multimedia.avsession.d.ts|
|函数有变化|类名:CameraInput;<br>方法or属性:on(type: 'error', camera: CameraDevice, callback: ErrorCallback\<BusinessError>): void;|类名:CameraInput;<br>方法or属性:on(type: 'error', camera: CameraDevice, callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:CaptureSession;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:CaptureSession;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:PreviewOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:PreviewOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:Support;<br>方法or属性:COMMON_EVENT_CHARGE_IDLE_MODE_CHANGED = 'usual.event.CHARGE_IDLE_MODE_CHANGED'|@ohos.commonEventManager.d.ts|
|新增|NA|类名:emitter;<br>方法or属性:function off(eventId: number, callback: Callback\<EventData>): void;|@ohos.events.emitter.d.ts|
|新增|NA|类名:notificationSubscribe;<br>方法or属性:function remove(hashCodes: Array\<String>, reason: RemoveReason, callback: AsyncCallback\<void>): void;|@ohos.notificationSubscribe.d.ts|
|新增|NA|类名:notificationSubscribe;<br>方法or属性:function remove(hashCodes: Array\<String>, reason: RemoveReason): Promise\<void>;|@ohos.notificationSubscribe.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\<number>): void;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest, callback: AsyncCallback\<number>): void;<br>新版本信息:401,1700001,1700002|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest): Promise\<number>;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function publishReminder(reminderReq: ReminderRequest): Promise\<number>;<br>新版本信息:401,1700001,1700002|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number, callback: AsyncCallback\<void>): void;<br>新版本信息:401,1700003,1700004|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number): Promise\<void>;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function cancelReminder(reminderId: number): Promise\<void>;<br>新版本信息:401,1700003,1700004|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function getValidReminders(callback: AsyncCallback\<Array\<ReminderRequest>>): void;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function getValidReminders(callback: AsyncCallback\<Array\<ReminderRequest>>): void;<br>新版本信息:401,1700004|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function getValidReminders(): Promise\<Array\<ReminderRequest>>;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function getValidReminders(): Promise\<Array\<ReminderRequest>>;<br>新版本信息:401,1700004|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function cancelAllReminders(callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function cancelAllReminders(callback: AsyncCallback\<void>): void;<br>新版本信息:401,1700004|@ohos.reminderAgentManager.d.ts|
|错误码有变化|类名:reminderAgentManager;<br>方法or属性:function cancelAllReminders(): Promise\<void>;<br>旧版本信息:401|类名:reminderAgentManager;<br>方法or属性:function cancelAllReminders(): Promise\<void>;<br>新版本信息:401,1700004|@ohos.reminderAgentManager.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>旧版本信息:|类名:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>旧版本信息:|类名:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>新版本信息:systemapi|@ohos.notification.d.ts|
|访问级别有变化|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_NONE = 0<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_ONCE = 1<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_DAILY = 2<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>旧版本信息:|类名:DoNotDisturbType;<br>方法or属性:TYPE_CLEARLY = 3<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:IDLE_DONOT_REMIND = 0<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:IDLE_REMIND = 1<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:ACTIVE_DONOT_REMIND = 2<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>旧版本信息:|类名:DeviceRemindType;<br>方法or属性:ACTIVE_REMIND = 3<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_NORMAL = 0<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_CONTINUOUS = 1<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>旧版本信息:|类名:SourceType;<br>方法or属性:TYPE_TIMER = 2<br>新版本信息:systemapi|@ohos.notificationManager.d.ts|
|访问级别有变化|类名:notificationSubscribe;<br>方法or属性:export type BundleOption = _BundleOption;<br>旧版本信息:|类名:notificationSubscribe;<br>方法or属性:export type BundleOption = _BundleOption;<br>新版本信息:systemapi|@ohos.notificationSubscribe.d.ts|
|访问级别有变化|类名:NotificationKey;<br>方法or属性:id: number;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:id: number;<br>新版本信息:systemapi|@ohos.notificationSubscribe.d.ts|
|访问级别有变化|类名:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:label?: string;<br>新版本信息:systemapi|@ohos.notificationSubscribe.d.ts|
|访问级别有变化|类名:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>旧版本信息:|类名:RemoveReason;<br>方法or属性:CLICK_REASON_REMOVE = 1<br>新版本信息:systemapi|@ohos.notificationSubscribe.d.ts|
|访问级别有变化|类名:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>旧版本信息:|类名:RemoveReason;<br>方法or属性:CANCEL_REASON_REMOVE = 2<br>新版本信息:systemapi|@ohos.notificationSubscribe.d.ts|
|访问级别有变化|类名:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>新版本信息:systemapi|notificationSorting.d.ts|
|访问级别有变化|类名:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>新版本信息:systemapi|notificationSorting.d.ts|
|访问级别有变化|类名:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>新版本信息:systemapi|notificationSorting.d.ts|
|访问级别有变化|类名:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>旧版本信息:|类名:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>新版本信息:systemapi|notificationSortingMap.d.ts|
|访问级别有变化|类名:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>旧版本信息:|类名:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>新版本信息:systemapi|notificationSortingMap.d.ts|
|访问级别有变化|类名:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>旧版本信息:|类名:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>新版本信息:systemapi|notificationSubscribeInfo.d.ts|
|访问级别有变化|类名:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信息:|类名:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信息:systemapi|notificationSubscribeInfo.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onConsume?: (data: SubscribeCallbackData) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onConsume?: (data: SubscribeCallbackData) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onCancel?: (data: SubscribeCallbackData) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onCancel?: (data: SubscribeCallbackData) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onUpdate?: (data: NotificationSortingMap) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onUpdate?: (data: NotificationSortingMap) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onConnect?: () => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onConnect?: () => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onDisconnect?: () => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onDisconnect?: () => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onDestroy?: () => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onDestroy?: () => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onDoNotDisturbDateChange?: (mode: notification.DoNotDisturbDate) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onEnabledNotificationChanged?: (callbackData: EnabledNotificationCallbackData) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:NotificationSubscriber;<br>方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;<br>旧版本信息:|类名:NotificationSubscriber;<br>方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|访问级别有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>新版本信息:systemapi|notificationSubscriber.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function publish(request: NotificationRequest, userId: number): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function isNotificationEnabled(userId: number): Promise\<boolean>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function removeAll(userId: number): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function removeGroupByBundle(bundle: BundleOption, groupName: string): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function setDoNotDisturbDate(date: DoNotDisturbDate, userId: number): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDoNotDisturbDate(): Promise\<DoNotDisturbDate>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDoNotDisturbDate(userId: number): Promise\<DoNotDisturbDate>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function supportDoNotDisturbMode(): Promise\<boolean>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function enableDistributed(enable: boolean): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>旧版本信息:|类名:notification;<br>方法or属性:function enableDistributedByBundle(bundle: BundleOption, enable: boolean): Promise\<void>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>旧版本信息:|类名:notification;<br>方法or属性:function isDistributedEnabledByBundle(bundle: BundleOption): Promise\<boolean>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>旧版本信息:|类名:notification;<br>方法or属性:function getDeviceRemindType(): Promise\<DeviceRemindType>;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER|@ohos.notification.d.ts|
|权限有变化|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts|
|权限有变化|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts|
|权限有变化|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts|
|权限有变化|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts|
|权限有变化|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信息:ohos.permission.NOTIFICATION_CONTROLLER,ohos.permission.NOTIFICATION_AGENT_CONTROLLER|@ohos.notificationManager.d.ts|
|type有变化|类名:EventData;<br>方法or属性:data?: { [key: string]: any };<br>旧版本信息:|类名:EventData;<br>方法or属性:data?: { [key: string]: any };<br>新版本信息:?object|@ohos.events.emitter.d.ts|
|type有变化|类名:InnerEvent;<br>方法or属性:eventId: number;<br>旧版本信息:|类名:InnerEvent;<br>方法or属性:eventId: number;<br>新版本信息:number|@ohos.events.emitter.d.ts|
|type有变化|类名:InnerEvent;<br>方法or属性:priority?: EventPriority;<br>旧版本信息:|类名:InnerEvent;<br>方法or属性:priority?: EventPriority;<br>新版本信息:?EventPriority|@ohos.events.emitter.d.ts|
|type有变化|类名:BundleOption;<br>方法or属性:bundle: string;<br>旧版本信息:|类名:BundleOption;<br>方法or属性:bundle: string;<br>新版本信息:string|@ohos.notification.d.ts|
|type有变化|类名:BundleOption;<br>方法or属性:uid?: number;<br>旧版本信息:|类名:BundleOption;<br>方法or属性:uid?: number;<br>新版本信息:?number|@ohos.notification.d.ts|
|type有变化|类名:NotificationKey;<br>方法or属性:id: number;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:id: number;<br>新版本信息:number|@ohos.notification.d.ts|
|type有变化|类名:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:label?: string;<br>新版本信息:?string|@ohos.notification.d.ts|
|type有变化|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:bundleName: string;<br>新版本信息:string|@ohos.notificationManager.d.ts|
|type有变化|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:notificationId: number;<br>新版本信息:number|@ohos.notificationManager.d.ts|
|type有变化|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>旧版本信息:|类名:NotificationCheckInfo;<br>方法or属性:contentType: ContentType;<br>新版本信息:ContentType|@ohos.notificationManager.d.ts|
|type有变化|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:code: number;<br>新版本信息:number|@ohos.notificationManager.d.ts|
|type有变化|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>旧版本信息:|类名:NotificationCheckResult;<br>方法or属性:message: string;<br>新版本信息:string|@ohos.notificationManager.d.ts|
|type有变化|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:type: DoNotDisturbType;<br>新版本信息:DoNotDisturbType|@ohos.notificationManager.d.ts|
|type有变化|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:begin: Date;<br>新版本信息:Date|@ohos.notificationManager.d.ts|
|type有变化|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>旧版本信息:|类名:DoNotDisturbDate;<br>方法or属性:end: Date;<br>新版本信息:Date|@ohos.notificationManager.d.ts|
|type有变化|类名:NotificationKey;<br>方法or属性:id: number;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:id: number;<br>新版本信息:number|@ohos.notificationSubscribe.d.ts|
|type有变化|类名:NotificationKey;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationKey;<br>方法or属性:label?: string;<br>新版本信息:?string|@ohos.notificationSubscribe.d.ts|
|type有变化|类名:ActionResult;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:bundleName: string;<br>新版本信息:string|@system.notification.d.ts|
|type有变化|类名:ActionResult;<br>方法or属性:abilityName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:abilityName: string;<br>新版本信息:string|@system.notification.d.ts|
|type有变化|类名:ActionResult;<br>方法or属性:uri: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:uri: string;<br>新版本信息:string|@system.notification.d.ts|
|type有变化|类名:ShowNotificationOptions;<br>方法or属性:contentTitle?: string;<br>旧版本信息:|类名:ShowNotificationOptions;<br>方法or属性:contentTitle?: string;<br>新版本信息:?string|@system.notification.d.ts|
|type有变化|类名:ShowNotificationOptions;<br>方法or属性:contentText?: string;<br>旧版本信息:|类名:ShowNotificationOptions;<br>方法or属性:contentText?: string;<br>新版本信息:?string|@system.notification.d.ts|
|type有变化|类名:ShowNotificationOptions;<br>方法or属性:clickAction?: ActionResult;<br>旧版本信息:|类名:ShowNotificationOptions;<br>方法or属性:clickAction?: ActionResult;<br>新版本信息:?ActionResult|@system.notification.d.ts|
|type有变化|类名:CommonEventData;<br>方法or属性:event: string;<br>旧版本信息:|类名:CommonEventData;<br>方法or属性:event: string;<br>新版本信息:string|commonEventData.d.ts|
|type有变化|类名:CommonEventData;<br>方法or属性:bundleName?: string;<br>旧版本信息:|类名:CommonEventData;<br>方法or属性:bundleName?: string;<br>新版本信息:?string|commonEventData.d.ts|
|type有变化|类名:CommonEventData;<br>方法or属性:code?: number;<br>旧版本信息:|类名:CommonEventData;<br>方法or属性:code?: number;<br>新版本信息:?number|commonEventData.d.ts|
|type有变化|类名:CommonEventData;<br>方法or属性:data?: string;<br>旧版本信息:|类名:CommonEventData;<br>方法or属性:data?: string;<br>新版本信息:?string|commonEventData.d.ts|
|type有变化|类名:CommonEventData;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信息:|类名:CommonEventData;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信息:?object|commonEventData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:bundleName?: string;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:bundleName?: string;<br>新版本信息:?string|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:code?: number;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:code?: number;<br>新版本信息:?number|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:data?: string;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:data?: string;<br>新版本信息:?string|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:subscriberPermissions?: Array\<string>;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:subscriberPermissions?: Array\<string>;<br>新版本信息:?Array\<string>|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:isOrdered?: boolean;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:isOrdered?: boolean;<br>新版本信息:?boolean|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:isSticky?: boolean;<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:isSticky?: boolean;<br>新版本信息:?boolean|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventPublishData;<br>方法or属性:parameters?: { [key: string]: any };<br>旧版本信息:|类名:CommonEventPublishData;<br>方法or属性:parameters?: { [key: string]: any };<br>新版本信息:?object|commonEventPublishData.d.ts|
|type有变化|类名:CommonEventSubscribeInfo;<br>方法or属性:events: Array\<string>;<br>旧版本信息:|类名:CommonEventSubscribeInfo;<br>方法or属性:events: Array\<string>;<br>新版本信息:Array\<string>|commonEventSubscribeInfo.d.ts|
|type有变化|类名:CommonEventSubscribeInfo;<br>方法or属性:publisherPermission?: string;<br>旧版本信息:|类名:CommonEventSubscribeInfo;<br>方法or属性:publisherPermission?: string;<br>新版本信息:?string|commonEventSubscribeInfo.d.ts|
|type有变化|类名:CommonEventSubscribeInfo;<br>方法or属性:publisherDeviceId?: string;<br>旧版本信息:|类名:CommonEventSubscribeInfo;<br>方法or属性:publisherDeviceId?: string;<br>新版本信息:?string|commonEventSubscribeInfo.d.ts|
|type有变化|类名:CommonEventSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信息:|类名:CommonEventSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信息:?number|commonEventSubscribeInfo.d.ts|
|type有变化|类名:CommonEventSubscribeInfo;<br>方法or属性:priority?: number;<br>旧版本信息:|类名:CommonEventSubscribeInfo;<br>方法or属性:priority?: number;<br>新版本信息:?number|commonEventSubscribeInfo.d.ts|
|type有变化|类名:NotificationActionButton;<br>方法or属性:title: string;<br>旧版本信息:|类名:NotificationActionButton;<br>方法or属性:title: string;<br>新版本信息:string|notificationActionButton.d.ts|
|type有变化|类名:NotificationActionButton;<br>方法or属性:wantAgent: WantAgent;<br>旧版本信息:|类名:NotificationActionButton;<br>方法or属性:wantAgent: WantAgent;<br>新版本信息:WantAgent|notificationActionButton.d.ts|
|type有变化|类名:NotificationActionButton;<br>方法or属性:extras?: { [key: string]: any };<br>旧版本信息:|类名:NotificationActionButton;<br>方法or属性:extras?: { [key: string]: any };<br>新版本信息:?object|notificationActionButton.d.ts|
|type有变化|类名:NotificationActionButton;<br>方法or属性:userInput?: NotificationUserInput;<br>旧版本信息:|类名:NotificationActionButton;<br>方法or属性:userInput?: NotificationUserInput;<br>新版本信息:?NotificationUserInput|notificationActionButton.d.ts|
|type有变化|类名:BundleOption;<br>方法or属性:bundle: string;<br>旧版本信息:|类名:BundleOption;<br>方法or属性:bundle: string;<br>新版本信息:string|NotificationCommonDef.d.ts|
|type有变化|类名:BundleOption;<br>方法or属性:uid?: number;<br>旧版本信息:|类名:BundleOption;<br>方法or属性:uid?: number;<br>新版本信息:?number|NotificationCommonDef.d.ts|
|type有变化|类名:NotificationBasicContent;<br>方法or属性:title: string;<br>旧版本信息:|类名:NotificationBasicContent;<br>方法or属性:title: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationBasicContent;<br>方法or属性:text: string;<br>旧版本信息:|类名:NotificationBasicContent;<br>方法or属性:text: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationBasicContent;<br>方法or属性:additionalText?: string;<br>旧版本信息:|类名:NotificationBasicContent;<br>方法or属性:additionalText?: string;<br>新版本信息:?string|notificationContent.d.ts|
|type有变化|类名:NotificationLongTextContent;<br>方法or属性:longText: string;<br>旧版本信息:|类名:NotificationLongTextContent;<br>方法or属性:longText: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationLongTextContent;<br>方法or属性:briefText: string;<br>旧版本信息:|类名:NotificationLongTextContent;<br>方法or属性:briefText: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationMultiLineContent;<br>方法or属性:briefText: string;<br>旧版本信息:|类名:NotificationMultiLineContent;<br>方法or属性:briefText: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationPictureContent;<br>方法or属性:briefText: string;<br>旧版本信息:|类名:NotificationPictureContent;<br>方法or属性:briefText: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationLongTextContent;<br>方法or属性:expandedTitle: string;<br>旧版本信息:|类名:NotificationLongTextContent;<br>方法or属性:expandedTitle: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationPictureContent;<br>方法or属性:expandedTitle: string;<br>旧版本信息:|类名:NotificationPictureContent;<br>方法or属性:expandedTitle: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationMultiLineContent;<br>方法or属性:longTitle: string;<br>旧版本信息:|类名:NotificationMultiLineContent;<br>方法or属性:longTitle: string;<br>新版本信息:string|notificationContent.d.ts|
|type有变化|类名:NotificationMultiLineContent;<br>方法or属性:lines: Array\<string>;<br>旧版本信息:|类名:NotificationMultiLineContent;<br>方法or属性:lines: Array\<string>;<br>新版本信息:Array\<string>|notificationContent.d.ts|
|type有变化|类名:NotificationPictureContent;<br>方法or属性:picture: image.PixelMap;<br>旧版本信息:|类名:NotificationPictureContent;<br>方法or属性:picture: image.PixelMap;<br>新版本信息:image.PixelMap|notificationContent.d.ts|
|type有变化|类名:NotificationContent;<br>方法or属性:contentType: notification.ContentType;<br>旧版本信息:|类名:NotificationContent;<br>方法or属性:contentType: notification.ContentType;<br>新版本信息:notification.ContentType|notificationContent.d.ts|
|type有变化|类名:NotificationContent;<br>方法or属性:normal?: NotificationBasicContent;<br>旧版本信息:|类名:NotificationContent;<br>方法or属性:normal?: NotificationBasicContent;<br>新版本信息:?NotificationBasicContent|notificationContent.d.ts|
|type有变化|类名:NotificationContent;<br>方法or属性:longText?: NotificationLongTextContent;<br>旧版本信息:|类名:NotificationContent;<br>方法or属性:longText?: NotificationLongTextContent;<br>新版本信息:?NotificationLongTextContent|notificationContent.d.ts|
|type有变化|类名:NotificationContent;<br>方法or属性:multiLine?: NotificationMultiLineContent;<br>旧版本信息:|类名:NotificationContent;<br>方法or属性:multiLine?: NotificationMultiLineContent;<br>新版本信息:?NotificationMultiLineContent|notificationContent.d.ts|
|type有变化|类名:NotificationContent;<br>方法or属性:picture?: NotificationPictureContent;<br>旧版本信息:|类名:NotificationContent;<br>方法or属性:picture?: NotificationPictureContent;<br>新版本信息:?NotificationPictureContent|notificationContent.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:content: NotificationContent;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:content: NotificationContent;<br>新版本信息:NotificationContent|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:id?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:id?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:slotType?: notification.SlotType;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:slotType?: notification.SlotType;<br>新版本信息:?notification.SlotType|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isOngoing?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isUnremovable?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isUnremovable?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:deliveryTime?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:tapDismissed?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:tapDismissed?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:autoDeletedTime?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:autoDeletedTime?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:wantAgent?: WantAgent;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:wantAgent?: WantAgent;<br>新版本信息:?WantAgent|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:extraInfo?: { [key: string]: any };<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:extraInfo?: { [key: string]: any };<br>新版本信息:?object|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:color?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:color?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:colorEnabled?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:colorEnabled?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isAlertOnce?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isStopwatch?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isCountDown?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isCountDown?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isFloatingIcon?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isFloatingIcon?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:label?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:label?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:badgeIconStyle?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:badgeIconStyle?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:showDeliveryTime?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:showDeliveryTime?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:actionButtons?: Array\<NotificationActionButton>;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:actionButtons?: Array\<NotificationActionButton>;<br>新版本信息:?Array\<NotificationActionButton>|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:smallIcon?: image.PixelMap;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:smallIcon?: image.PixelMap;<br>新版本信息:?image.PixelMap|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:largeIcon?: image.PixelMap;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:largeIcon?: image.PixelMap;<br>新版本信息:?image.PixelMap|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:groupName?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:groupName?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly creatorBundleName?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly creatorBundleName?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly creatorUid?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly creatorUid?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly creatorPid?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly creatorPid?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly creatorUserId?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly creatorUserId?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:classification?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:classification?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly hashCode?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly hashCode?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly source?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly source?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:template?: NotificationTemplate;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:template?: NotificationTemplate;<br>新版本信息:?NotificationTemplate|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:distributedOption?: DistributedOptions;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:distributedOption?: DistributedOptions;<br>新版本信息:?DistributedOptions|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly deviceId?: string;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly deviceId?: string;<br>新版本信息:?string|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:readonly notificationFlags?: NotificationFlags;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:readonly notificationFlags?: NotificationFlags;<br>新版本信息:?NotificationFlags|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:removalWantAgent?: WantAgent;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:removalWantAgent?: WantAgent;<br>新版本信息:?WantAgent|notificationRequest.d.ts|
|type有变化|类名:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>旧版本信息:|类名:NotificationRequest;<br>方法or属性:badgeNumber?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:DistributedOptions;<br>方法or属性:isDistributed?: boolean;<br>旧版本信息:|类名:DistributedOptions;<br>方法or属性:isDistributed?: boolean;<br>新版本信息:?boolean|notificationRequest.d.ts|
|type有变化|类名:DistributedOptions;<br>方法or属性:supportDisplayDevices?: Array\<string>;<br>旧版本信息:|类名:DistributedOptions;<br>方法or属性:supportDisplayDevices?: Array\<string>;<br>新版本信息:?Array\<string>|notificationRequest.d.ts|
|type有变化|类名:DistributedOptions;<br>方法or属性:supportOperateDevices?: Array\<string>;<br>旧版本信息:|类名:DistributedOptions;<br>方法or属性:supportOperateDevices?: Array\<string>;<br>新版本信息:?Array\<string>|notificationRequest.d.ts|
|type有变化|类名:DistributedOptions;<br>方法or属性:readonly remindType?: number;<br>旧版本信息:|类名:DistributedOptions;<br>方法or属性:readonly remindType?: number;<br>新版本信息:?number|notificationRequest.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:type: notification.SlotType;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:type: notification.SlotType;<br>新版本信息:notification.SlotType|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:level?: notification.SlotLevel;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:level?: notification.SlotLevel;<br>新版本信息:?notification.SlotLevel|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:desc?: string;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:desc?: string;<br>新版本信息:?string|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:badgeFlag?: boolean;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:badgeFlag?: boolean;<br>新版本信息:?boolean|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:bypassDnd?: boolean;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:bypassDnd?: boolean;<br>新版本信息:?boolean|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:lockscreenVisibility?: number;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:lockscreenVisibility?: number;<br>新版本信息:?number|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:vibrationEnabled?: boolean;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:vibrationEnabled?: boolean;<br>新版本信息:?boolean|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:sound?: string;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:sound?: string;<br>新版本信息:?string|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:lightEnabled?: boolean;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:lightEnabled?: boolean;<br>新版本信息:?boolean|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:lightColor?: number;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:lightColor?: number;<br>新版本信息:?number|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:vibrationValues?: Array\<number>;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:vibrationValues?: Array\<number>;<br>新版本信息:?Array\<number>|notificationSlot.d.ts|
|type有变化|类名:NotificationSlot;<br>方法or属性:readonly enabled?: boolean;<br>旧版本信息:|类名:NotificationSlot;<br>方法or属性:readonly enabled?: boolean;<br>新版本信息:?boolean|notificationSlot.d.ts|
|type有变化|类名:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly slot: NotificationSlot;<br>新版本信息:NotificationSlot|notificationSorting.d.ts|
|type有变化|类名:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly hashCode: string;<br>新版本信息:string|notificationSorting.d.ts|
|type有变化|类名:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>旧版本信息:|类名:NotificationSorting;<br>方法or属性:readonly ranking: number;<br>新版本信息:number|notificationSorting.d.ts|
|type有变化|类名:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>旧版本信息:|类名:NotificationSortingMap;<br>方法or属性:readonly sortings: { [key: string]: NotificationSorting };<br>新版本信息:object|notificationSortingMap.d.ts|
|type有变化|类名:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>旧版本信息:|类名:NotificationSortingMap;<br>方法or属性:readonly sortedHashCode: Array\<string>;<br>新版本信息:Array\<string>|notificationSortingMap.d.ts|
|type有变化|类名:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>旧版本信息:|类名:NotificationSubscribeInfo;<br>方法or属性:bundleNames?: Array\<string>;<br>新版本信息:?Array\<string>|notificationSubscribeInfo.d.ts|
|type有变化|类名:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>旧版本信息:|类名:NotificationSubscribeInfo;<br>方法or属性:userId?: number;<br>新版本信息:?number|notificationSubscribeInfo.d.ts|
|type有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly request: NotificationRequest;<br>新版本信息:NotificationRequest|notificationSubscriber.d.ts|
|type有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>新版本信息:?NotificationSortingMap|notificationSubscriber.d.ts|
|type有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly reason?: number;<br>新版本信息:?number|notificationSubscriber.d.ts|
|type有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly sound?: string;<br>新版本信息:?string|notificationSubscriber.d.ts|
|type有变化|类名:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>旧版本信息:|类名:SubscribeCallbackData;<br>方法or属性:readonly vibrationValues?: Array\<number>;<br>新版本信息:?Array\<number>|notificationSubscriber.d.ts|
|type有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信息:string|notificationSubscriber.d.ts|
|type有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly bundle: string;<br>新版本信息:string|notificationSubscriber.d.ts|
|type有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信息:number|notificationSubscriber.d.ts|
|type有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly uid: number;<br>新版本信息:number|notificationSubscriber.d.ts|
|type有变化|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>旧版本信息:|类名:EnabledNotificationCallbackData;<br>方法or属性:readonly enable: boolean;<br>新版本信息:boolean|notificationSubscriber.d.ts|
|type有变化|类名:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>旧版本信息:|类名:BadgeNumberCallbackData;<br>方法or属性:readonly badgeNumber: number;<br>新版本信息:number|notificationSubscriber.d.ts|
|type有变化|类名:NotificationTemplate;<br>方法or属性:name: string;<br>旧版本信息:|类名:NotificationTemplate;<br>方法or属性:name: string;<br>新版本信息:string|notificationTemplate.d.ts|
|type有变化|类名:NotificationTemplate;<br>方法or属性:data: { [key: string]: Object };<br>旧版本信息:|类名:NotificationTemplate;<br>方法or属性:data: { [key: string]: Object };<br>新版本信息:object|notificationTemplate.d.ts|
|type有变化|类名:NotificationUserInput;<br>方法or属性:inputKey: string;<br>旧版本信息:|类名:NotificationUserInput;<br>方法or属性:inputKey: string;<br>新版本信息:string|notificationUserInput.d.ts|
|函数有变化|类名:NotificationRequest;<br>方法or属性:readonly isRemoveAllowed?: boolean;|类名:NotificationRequest;<br>方法or属性:isRemoveAllowed?: boolean;|notificationRequest.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:ResourceType;<br>方法or属性:RUNNING_LOCK = 1 \<\< 7|@ohos.resourceschedule.backgroundTaskManager.d.ts|
|新增|NA|类名:ResourceType;<br>方法or属性:SENSOR = 1 \<\< 8|@ohos.resourceschedule.backgroundTaskManager.d.ts|
|废弃版本有变化|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信息:9<br>代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning|@ohos.ability.particleAbility.d.ts|
|废弃版本有变化|类名:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>新版本信息:9<br>代替接口: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning|@ohos.ability.particleAbility.d.ts|
|权限有变化|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信息:ohos.permission.KEEP_BACKGROUND_RUNNING|@ohos.ability.particleAbility.d.ts|
|model有变化|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function startBackgroundRunning(id: number, request: NotificationRequest): Promise\<void>;<br>新版本信息:FAModelOnly|@ohos.ability.particleAbility.d.ts|
|model有变化|类名:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>旧版本信息:|类名:particleAbility;<br>方法or属性:function cancelBackgroundRunning(): Promise\<void>;<br>新版本信息:FAModelOnly|@ohos.ability.particleAbility.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|跨平台能力有变化|类名:Callback;<br>方法or属性:export interface Callback<br>旧版本信息:|类名:Callback;<br>方法or属性:export interface Callback<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:Callback;<br>方法or属性:(data: T): void;<br>旧版本信息:|类名:Callback;<br>方法or属性:(data: T): void;<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:ErrorCallback;<br>方法or属性:export interface ErrorCallback<br>旧版本信息:|类名:ErrorCallback;<br>方法or属性:export interface ErrorCallback<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:ErrorCallback;<br>方法or属性:(err: T): void;<br>旧版本信息:|类名:ErrorCallback;<br>方法or属性:(err: T): void;<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:AsyncCallback;<br>方法or属性:export interface AsyncCallback<br>旧版本信息:|类名:AsyncCallback;<br>方法or属性:export interface AsyncCallback<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:AsyncCallback;<br>方法or属性:(err: BusinessError\<E>, data: T): void;<br>旧版本信息:|类名:AsyncCallback;<br>方法or属性:(err: BusinessError\<E>, data: T): void;<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:BusinessError;<br>方法or属性:export interface BusinessError<br>旧版本信息:|类名:BusinessError;<br>方法or属性:export interface BusinessError<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:BusinessError;<br>方法or属性:code: number;<br>旧版本信息:|类名:BusinessError;<br>方法or属性:code: number;<br>新版本信息:crossplatform|@ohos.base.d.ts|
|跨平台能力有变化|类名:BusinessError;<br>方法or属性:data?: T;<br>旧版本信息:|类名:BusinessError;<br>方法or属性:data?: T;<br>新版本信息:crossplatform|@ohos.base.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:cert;<br>方法or属性:function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback\<CertExtension>): void;|@ohos.security.cert.d.ts|
|新增|NA|类名:cert;<br>方法or属性:function createCertExtension(inStream: EncodingBlob): Promise\<CertExtension>;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_TBS = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_PUBLIC_KEY = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;<br>方法or属性:CERT_ITEM_TYPE_EXTENSIONS = 4|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_ALL = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_CRITICAL = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;<br>方法or属性:EXTENSION_OID_TYPE_UNCRITICAL = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;<br>方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:X509Cert;<br>方法or属性:getCertSerialNumber(): bigint;|@ohos.security.cert.d.ts|
|新增|NA|类名:X509Cert;<br>方法or属性:getItem(itemType: CertItemType): DataBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;<br>方法or属性:getEncoded(): EncodingBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;<br>方法or属性:getOidList(valueType: ExtensionOidType): DataArray;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;<br>方法or属性:getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;<br>方法or属性:checkCA(): number;|@ohos.security.cert.d.ts|
|新增|NA|类名:cryptoFramework;<br>方法or属性:function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:PriKey;<br>方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:PubKey;<br>方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Random;<br>方法or属性:generateRandomSync(len: number): DataBlob;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Random;<br>方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;<br>方法or属性:OAEP_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;<br>方法or属性:OAEP_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;<br>方法or属性:OAEP_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;<br>方法or属性:OAEP_MGF1_PSRC_UINT8ARR = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;<br>方法or属性:PSS_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;<br>方法or属性:PSS_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;<br>方法or属性:PSS_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;<br>方法or属性:PSS_SALT_LEN_NUM = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;<br>方法or属性:PSS_TRAILER_FIELD_NUM = 104|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;<br>方法or属性:setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;<br>方法or属性:getCipherSpec(itemType: CipherSpecItem): string \| Uint8Array;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;<br>方法or属性:setSignSpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;<br>方法or属性:getSignSpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;<br>方法or属性:setVerifySpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;<br>方法or属性:getVerifySpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:DSA_P_BN = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:DSA_Q_BN = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:DSA_G_BN = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:DSA_SK_BN = 104|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:DSA_PK_BN = 105|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_FP_P_BN = 201|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_A_BN = 202|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_B_BN = 203|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_G_X_BN = 204|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_G_Y_BN = 205|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_N_BN = 206|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_H_NUM = 207|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_SK_BN = 208|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_PK_X_BN = 209|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_PK_Y_BN = 210|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_FIELD_TYPE_STR = 211|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_FIELD_SIZE_NUM = 212|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:ECC_CURVE_NAME_STR = 213|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:RSA_N_BN = 301|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:RSA_SK_BN = 302|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;<br>方法or属性:RSA_PK_BN = 303|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;<br>方法or属性:COMMON_PARAMS_SPEC = 0|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;<br>方法or属性:PRIVATE_KEY_SPEC = 1|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;<br>方法or属性:PUBLIC_KEY_SPEC = 2|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;<br>方法or属性:KEY_PAIR_SPEC = 3|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpec;<br>方法or属性:algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpec;<br>方法or属性:specType: AsyKeySpecType;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;<br>方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECFieldFp;<br>方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;<br>方法or属性:q: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;<br>方法or属性:g: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAPubKeySpec;<br>方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;<br>方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAPubKeySpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAPubKeySpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;<br>方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPriKeySpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;<br>方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECField;<br>方法or属性:fieldType: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Point;<br>方法or属性:x: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Point;<br>方法or属性:y: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:field: ECField;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:a: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:b: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:g: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSACommonParamsSpec;<br>方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;<br>方法or属性:h: number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPriKeySpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPubKeySpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;<br>方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPubKeySpec;<br>方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;<br>方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAPubKeySpec;<br>方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;<br>方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generatePriKey(callback: AsyncCallback\<PriKey>): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generatePriKey(): Promise\<PriKey>;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generatePubKey(callback: AsyncCallback\<PubKey>): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;<br>方法or属性:generatePubKey(): Promise\<PubKey>;|@ohos.security.cryptoFramework.d.ts|
|废弃版本有变化|类名:X509Cert;<br>方法or属性:getSerialNumber(): number;<br>旧版本信息:|类名:X509Cert;<br>方法or属性:getSerialNumber(): number;<br>新版本信息:10<br>代替接口: ohos.security.cert.X509Cert.getCertSerialNumber|@ohos.security.cert.d.ts|
|新增(错误码)|类名:Key;<br>方法or属性:getEncoded(): DataBlob;<br>旧版本信息:|类名:Key;<br>方法or属性:getEncoded(): DataBlob;<br>新版本信息:801,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;<br>方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;<br>旧版本信息:401|类名:cryptoFramework;<br>方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;<br>新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;<br>方法or属性:function createCipher(transformation: string): Cipher;<br>旧版本信息:401,801|类名:cryptoFramework;<br>方法or属性:function createCipher(transformation: string): Cipher;<br>新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;<br>方法or属性:function createSign(algName: string): Sign;<br>旧版本信息:401|类名:cryptoFramework;<br>方法or属性:function createSign(algName: string): Sign;<br>新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;<br>方法or属性:function createVerify(algName: string): Verify;<br>旧版本信息:401|类名:cryptoFramework;<br>方法or属性:function createVerify(algName: string): Verify;<br>新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;<br>方法or属性:function createKeyAgreement(algName: string): KeyAgreement;<br>旧版本信息:401|类名:cryptoFramework;<br>方法or属性:function createKeyAgreement(algName: string): KeyAgreement;<br>新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;<br>旧版本信息:401,17620001|类名:AsyKeyGenerator;<br>方法or属性:generateKeyPair(callback: AsyncCallback\<KeyPair>): void;<br>新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;<br>旧版本信息:401,17620001|类名:AsyKeyGenerator;<br>方法or属性:generateKeyPair(): Promise\<KeyPair>;<br>新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\<KeyPair>): void;<br>旧版本信息:401,17620001|类名:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\<KeyPair>): void;<br>新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\<KeyPair>;<br>旧版本信息:401,17620001|类名:AsyKeyGenerator;<br>方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\<KeyPair>;<br>新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:tokenId?: number;<br>旧版本信息:number|类名:PermissionUsedRequest;<br>方法or属性:tokenId?: number;<br>新版本信息:?number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;<br>旧版本信息:boolean|类名:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;<br>新版本信息:?boolean|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:deviceId?: string;<br>旧版本信息:string|类名:PermissionUsedRequest;<br>方法or属性:deviceId?: string;<br>新版本信息:?string|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:bundleName?: string;<br>旧版本信息:string|类名:PermissionUsedRequest;<br>方法or属性:bundleName?: string;<br>新版本信息:?string|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;<br>旧版本信息:Array\<Permissions>|类名:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;<br>新版本信息:?Array\<Permissions>|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:beginTime?: number;<br>旧版本信息:number|类名:PermissionUsedRequest;<br>方法or属性:beginTime?: number;<br>新版本信息:?number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;<br>方法or属性:endTime?: number;<br>旧版本信息:number|类名:PermissionUsedRequest;<br>方法or属性:endTime?: number;<br>新版本信息:?number|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:tokenId: number;|类名:PermissionUsedRequest;<br>方法or属性:tokenId?: number;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:isRemote: boolean;|类名:PermissionUsedRequest;<br>方法or属性:isRemote?: boolean;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:deviceId: string;|类名:PermissionUsedRequest;<br>方法or属性:deviceId?: string;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:bundleName: string;|类名:PermissionUsedRequest;<br>方法or属性:bundleName?: string;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:permissionNames: Array\<Permissions>;|类名:PermissionUsedRequest;<br>方法or属性:permissionNames?: Array\<Permissions>;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:beginTime: number;|类名:PermissionUsedRequest;<br>方法or属性:beginTime?: number;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;<br>方法or属性:endTime: number;|类名:PermissionUsedRequest;<br>方法or属性:endTime?: number;|@ohos.privacyManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.COLOR, callback: Callback\<ColorResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.SAR, callback: Callback\<SarResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.COLOR, callback?: Callback\<ColorResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.SAR, callback?: Callback\<SarResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:COLOR = 14|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:SAR = 15|@ohos.sensor.d.ts|
|新增|NA|类名:ColorResponse;<br>方法or属性:lightIntensity: number;|@ohos.sensor.d.ts|
|新增|NA|类名:ColorResponse;<br>方法or属性:colorTemperature: number;|@ohos.sensor.d.ts|
|新增|NA|类名:SarResponse;<br>方法or属性:absorptionRatio: number;|@ohos.sensor.d.ts|
|新增|NA|类名:VibrateFromFile;<br>方法or属性:type: 'file';|@ohos.vibrator.d.ts|
|新增|NA|类名:VibrateFromFile;<br>方法or属性:hapticFd: HapticFileDescriptor;|@ohos.vibrator.d.ts|
|新增|NA|类名:HapticFileDescriptor;<br>方法or属性:fd: number;|@ohos.vibrator.d.ts|
|新增|NA|类名:HapticFileDescriptor;<br>方法or属性:offset?: number;|@ohos.vibrator.d.ts|
|新增|NA|类名:HapticFileDescriptor;<br>方法or属性:length?: number;|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: vibrator#stopVibration|@ohos.vibrator.d.ts|
|错误码有变化|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,14600101|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\<void>): void;<br>新版本信息:201,401,801,14600101|@ohos.vibrator.d.ts|
|错误码有变化|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\<void>;<br>旧版本信息:201,401,14600101|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\<void>;<br>新版本信息:201,401,801,14600101|@ohos.vibrator.d.ts|
|权限有变化|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>新版本信息:ohos.permission.VIBRATE|@ohos.vibrator.d.ts|
|权限有变化|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>新版本信息:ohos.permission.VIBRATE|@ohos.vibrator.d.ts|
|权限有变化|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>新版本信息:ohos.permission.VIBRATE|@ohos.vibrator.d.ts|
|权限有变化|类名:VibrateOptions;<br>方法or属性:mode?: 'long' \| 'short';<br>旧版本信息:|类名:VibrateOptions;<br>方法or属性:mode?: 'long' \| 'short';<br>新版本信息:ohos.permission.VIBRATE|@system.vibrator.d.ts|
|权限有变化|类名:VibrateOptions;<br>方法or属性:success: () => void;<br>旧版本信息:|类名:VibrateOptions;<br>方法or属性:success: () => void;<br>新版本信息:ohos.permission.VIBRATE|@system.vibrator.d.ts|
|权限有变化|类名:VibrateOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:VibrateOptions;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:ohos.permission.VIBRATE|@system.vibrator.d.ts|
|权限有变化|类名:VibrateOptions;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:VibrateOptions;<br>方法or属性:complete?: () => void;<br>新版本信息:ohos.permission.VIBRATE|@system.vibrator.d.ts|
|type有变化|类名:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;<br>旧版本信息:|类名:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;<br>新版本信息:VibrateTime \| VibratePreset \| VibrateFromFile|@ohos.vibrator.d.ts|
|函数有变化|类名:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset;|类名:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset \| VibrateFromFile;|@ohos.vibrator.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|废弃版本有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:brand: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:brand: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:manufacturer: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:manufacturer: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:model: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:model: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:product: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:product: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:language: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:language: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:region: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:region: string;<br>新版本信息:string|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:windowWidth: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:windowWidth: number;<br>新版本信息:number|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:windowHeight: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:windowHeight: number;<br>新版本信息:number|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:screenDensity: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:screenDensity: number;<br>新版本信息:number|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>新版本信息:'rect' \| 'circle'|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:apiVersion: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:apiVersion: number;<br>新版本信息:number|@system.device.d.ts|
|type有变化|类名:DeviceResponse;<br>方法or属性:deviceType: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:deviceType: string;<br>新版本信息:string|@system.device.d.ts|
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:UIElementInfo;<br>方法or属性:readonly bundleName: string;|@ohos.UiTest.d.ts|
|新增|NA|类名:UIElementInfo;<br>方法or属性:readonly type: string;|@ohos.UiTest.d.ts|
|新增|NA|类名:UIElementInfo;<br>方法or属性:readonly text: string;|@ohos.UiTest.d.ts|
|新增|NA|类名:UIEventObserver;<br>方法or属性:once(type: 'toastShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts|
|新增|NA|类名:UIEventObserver;<br>方法or属性:once(type: 'dialogShow', callback: Callback\<UIElementInfo>): void;|@ohos.UiTest.d.ts|
|新增|NA|类名:Driver;<br>方法or属性:createUIEventObserver(): UIEventObserver;|@ohos.UiTest.d.ts|
|type有变化|类名:WindowFilter;<br>方法or属性:bundleName?: string;<br>旧版本信息:string?|类名:WindowFilter;<br>方法or属性:bundleName?: string;<br>新版本信息:?string|@ohos.UiTest.d.ts|
|type有变化|类名:WindowFilter;<br>方法or属性:title?: string;<br>旧版本信息:string?|类名:WindowFilter;<br>方法or属性:title?: string;<br>新版本信息:?string|@ohos.UiTest.d.ts|
|type有变化|类名:WindowFilter;<br>方法or属性:focused?: boolean;<br>旧版本信息:boolean?|类名:WindowFilter;<br>方法or属性:focused?: boolean;<br>新版本信息:?boolean|@ohos.UiTest.d.ts|
|type有变化|类名:WindowFilter;<br>方法or属性:actived?: boolean;<br>旧版本信息:boolean?|类名:WindowFilter;<br>方法or属性:actived?: boolean;<br>新版本信息:?boolean|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:MatchPattern;<br>方法or属性:declare enum MatchPattern<br>旧版本信息:|类名:MatchPattern;<br>方法or属性:declare enum MatchPattern<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:MatchPattern;<br>方法or属性:EQUALS = 0<br>旧版本信息:|类名:MatchPattern;<br>方法or属性:EQUALS = 0<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:MatchPattern;<br>方法or属性:CONTAINS = 1<br>旧版本信息:|类名:MatchPattern;<br>方法or属性:CONTAINS = 1<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:MatchPattern;<br>方法or属性:STARTS_WITH = 2<br>旧版本信息:|类名:MatchPattern;<br>方法or属性:STARTS_WITH = 2<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:MatchPattern;<br>方法or属性:ENDS_WITH = 3<br>旧版本信息:|类名:MatchPattern;<br>方法or属性:ENDS_WITH = 3<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Point;<br>方法or属性:declare interface Point<br>旧版本信息:|类名:Point;<br>方法or属性:declare interface Point<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Point;<br>方法or属性:readonly x: number;<br>旧版本信息:|类名:Point;<br>方法or属性:readonly x: number;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Point;<br>方法or属性:readonly y: number;<br>旧版本信息:|类名:Point;<br>方法or属性:readonly y: number;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:text(txt: string, pattern?: MatchPattern): On;<br>旧版本信息:|类名:On;<br>方法or属性:text(txt: string, pattern?: MatchPattern): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:id(id: string): On;<br>旧版本信息:|类名:On;<br>方法or属性:id(id: string): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:type(tp: string): On;<br>旧版本信息:|类名:On;<br>方法or属性:type(tp: string): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:clickable(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:clickable(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:longClickable(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:longClickable(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:scrollable(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:scrollable(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:enabled(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:enabled(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:focused(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:focused(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:selected(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:selected(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:checked(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:checked(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:On;<br>方法or属性:checkable(b?: boolean): On;<br>旧版本信息:|类名:On;<br>方法or属性:checkable(b?: boolean): On;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:click(): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:click(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:doubleClick(): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:doubleClick(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:longClick(): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:longClick(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:getId(): Promise\<string>;<br>旧版本信息:|类名:Component;<br>方法or属性:getId(): Promise\<string>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:getText(): Promise\<string>;<br>旧版本信息:|类名:Component;<br>方法or属性:getText(): Promise\<string>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:getType(): Promise\<string>;<br>旧版本信息:|类名:Component;<br>方法or属性:getType(): Promise\<string>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isClickable(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isClickable(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isLongClickable(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isLongClickable(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isScrollable(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isScrollable(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isEnabled(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isEnabled(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isFocused(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isFocused(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isSelected(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isSelected(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isChecked(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isChecked(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:isCheckable(): Promise\<boolean>;<br>旧版本信息:|类名:Component;<br>方法or属性:isCheckable(): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:inputText(text: string): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:inputText(text: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:clearText(): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:clearText(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:scrollToTop(speed?: number): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:scrollToTop(speed?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:scrollToBottom(speed?: number): Promise\<void>;<br>旧版本信息:|类名:Component;<br>方法or属性:scrollToBottom(speed?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:scrollSearch(on: On): Promise\<Component>;<br>旧版本信息:|类名:Component;<br>方法or属性:scrollSearch(on: On): Promise\<Component>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Component;<br>方法or属性:getBoundsCenter(): Promise\<Point>;<br>旧版本信息:|类名:Component;<br>方法or属性:getBoundsCenter(): Promise\<Point>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:static create(): Driver;<br>旧版本信息:|类名:Driver;<br>方法or属性:static create(): Driver;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:delayMs(duration: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:delayMs(duration: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:findComponent(on: On): Promise\<Component>;<br>旧版本信息:|类名:Driver;<br>方法or属性:findComponent(on: On): Promise\<Component>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:findComponents(on: On): Promise\<Array\<Component>>;<br>旧版本信息:|类名:Driver;<br>方法or属性:findComponents(on: On): Promise\<Array\<Component>>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:assertComponentExist(on: On): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:assertComponentExist(on: On): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:pressBack(): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:pressBack(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:click(x: number, y: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:click(x: number, y: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:doubleClick(x: number, y: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:doubleClick(x: number, y: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:longClick(x: number, y: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:longClick(x: number, y: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:swipe(startx: number, starty: number, endx: number, endy: number, speed?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
|跨平台能力有变化|类名:Driver;<br>方法or属性:fling(from: Point, to: Point, stepLen: number, speed: number): Promise\<void>;<br>旧版本信息:|类名:Driver;<br>方法or属性:fling(from: Point, to: Point, stepLen: number, speed: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.UiTest.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|错误码有变化|类名:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>旧版本信息:401|类名:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>新版本信息:401,14400002|@ohos.usbManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:SecureDnsMode;<br>方法or属性:OFF = 0|@ohos.web.webview.d.ts|
|新增|NA|类名:SecureDnsMode;<br>方法or属性:AUTO = 1|@ohos.web.webview.d.ts|
|新增|NA|类名:SecureDnsMode;<br>方法or属性:SECURE_ONLY = 2|@ohos.web.webview.d.ts|
|新增|NA|类名:WebviewController;<br>方法or属性:prefetchPage(url: string, additionalHeaders?: Array\<WebHeader>): void;|@ohos.web.webview.d.ts|
|新增|NA|类名:WebviewController;<br>方法or属性:static prepareForPageLoad(url: string, preconnectable: boolean, numSockets: number): void;|@ohos.web.webview.d.ts|
|废弃版本有变化|类名:SecureDnsMode;<br>方法or属性:Off = 0<br>旧版本信息:|类名:SecureDnsMode;<br>方法or属性:Off = 0<br>新版本信息:10<br>代替接口: SecureDnsMode#OFF|@ohos.web.webview.d.ts|
|废弃版本有变化|类名:SecureDnsMode;<br>方法or属性:Auto = 1<br>旧版本信息:|类名:SecureDnsMode;<br>方法or属性:Auto = 1<br>新版本信息:10<br>代替接口: SecureDnsMode#AUTO|@ohos.web.webview.d.ts|
|废弃版本有变化|类名:SecureDnsMode;<br>方法or属性:SecureOnly = 2<br>旧版本信息:|类名:SecureDnsMode;<br>方法or属性:SecureOnly = 2<br>新版本信息:10<br>代替接口: SecureDnsMode#SECURE_ONLY|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebStorage;<br>方法or属性:static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>): void;<br>旧版本信息:|类名:WebStorage;<br>方法or属性:static getOrigins(callback: AsyncCallback\<Array\<WebStorageOrigin>>): void;<br>新版本信息:401,17100012|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebStorage;<br>方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:WebStorage;<br>方法or属性:static getOriginQuota(origin: string, callback: AsyncCallback\<number>): void;<br>新版本信息:401,17100011|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebStorage;<br>方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:WebStorage;<br>方法or属性:static getOriginUsage(origin: string, callback: AsyncCallback\<number>): void;<br>新版本信息:401,17100011|@ohos.web.webview.d.ts|
|新增(错误码)|类名:GeolocationPermissions;<br>方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:GeolocationPermissions;<br>方法or属性:static getAccessibleGeolocation(origin: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:401,17100011|@ohos.web.webview.d.ts|
|新增(错误码)|类名:GeolocationPermissions;<br>方法or属性:static getStoredGeolocation(callback: AsyncCallback\<Array\<string>>): void;<br>旧版本信息:|类名:GeolocationPermissions;<br>方法or属性:static getStoredGeolocation(callback: AsyncCallback\<Array\<string>>): void;<br>新版本信息:401|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebCookieManager;<br>方法or属性:static saveCookieAsync(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:WebCookieManager;<br>方法or属性:static saveCookieAsync(callback: AsyncCallback\<void>): void;<br>新版本信息:401|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebviewController;<br>方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:WebviewController;<br>方法or属性:storeWebArchive(baseName: string, autoName: boolean, callback: AsyncCallback\<string>): void;<br>新版本信息:401,17100001,17100003|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebviewController;<br>方法or属性:runJavaScript(script: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:WebviewController;<br>方法or属性:runJavaScript(script: string, callback: AsyncCallback\<string>): void;<br>新版本信息:401,17100001|@ohos.web.webview.d.ts|
|新增(错误码)|类名:WebviewController;<br>方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback\<JsMessageExt>): void;<br>旧版本信息:|类名:WebviewController;<br>方法or属性:runJavaScriptExt(script: string, callback: AsyncCallback\<JsMessageExt>): void;<br>新版本信息:401,17100001|@ohos.web.webview.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:Window;<br>方法or属性:getUIContext() : UIContext;|@ohos.window.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信息:1400001|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信息:401,1400001|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信息:401,1400001|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:201,401,1400001|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信息:401,1400002|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:201,401,1400001|@ohos.screen.d.ts|
|新增(错误码)|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信息:401|@ohos.screen.d.ts|
|新增(错误码)|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts|
|新增(错误码)|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts|
|新增(错误码)|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>旧版本信息:|类名:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ExpandOption;<br>方法or属性:interface ExpandOption<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:interface ExpandOption<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ExpandOption;<br>方法or属性:screenId: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:screenId: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ExpandOption;<br>方法or属性:startX: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:startX: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ExpandOption;<br>方法or属性:startY: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:startY: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:name: string;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:name: string;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:width: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:width: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:height: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:height: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:density: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:density: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenSourceMode;<br>方法or属性:enum ScreenSourceMode<br>旧版本信息:|类名:ScreenSourceMode;<br>方法or属性:enum ScreenSourceMode<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MAIN = 0<br>旧版本信息:|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MAIN = 0<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MIRROR = 1<br>旧版本信息:|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MIRROR = 1<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenSourceMode;<br>方法or属性:SCREEN_EXTEND = 2<br>旧版本信息:|类名:ScreenSourceMode;<br>方法or属性:SCREEN_EXTEND = 2<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenSourceMode;<br>方法or属性:SCREEN_ALONE = 3<br>旧版本信息:|类名:ScreenSourceMode;<br>方法or属性:SCREEN_ALONE = 3<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:interface Screen<br>旧版本信息:|类名:Screen;<br>方法or属性:interface Screen<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly id: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly id: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly parent: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly parent: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly orientation: Orientation;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly orientation: Orientation;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:readonly sourceMode: ScreenSourceMode;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly sourceMode: ScreenSourceMode;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:Orientation;<br>方法or属性:enum Orientation<br>旧版本信息:|类名:Orientation;<br>方法or属性:enum Orientation<br>新版本信息:systemapi|@ohos.screen.d.ts|
|访问级别有变化|类名:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>旧版本信息:|类名:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>新版本信息:systemapi|@ohos.screen.d.ts|
|权限有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts|
|权限有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts|
|跨平台能力有变化|类名:display;<br>方法or属性:declare display<br>旧版本信息:|类名:display;<br>方法or属性:declare display<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:display;<br>方法or属性:function getDefaultDisplaySync(): Display;<br>旧版本信息:|类名:display;<br>方法or属性:function getDefaultDisplaySync(): Display;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:enum Orientation<br>旧版本信息:|类名:Orientation;<br>方法or属性:enum Orientation<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT = 0<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT = 0<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE = 1<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE = 1<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 2<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 2<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 3<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 3<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:interface Rect<br>旧版本信息:|类名:Rect;<br>方法or属性:interface Rect<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:left: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:left: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:top: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:top: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:width: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Display;<br>方法or属性:width: number;<br>旧版本信息:|类名:Display;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:height: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Display;<br>方法or属性:height: number;<br>旧版本信息:|类名:Display;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Display;<br>方法or属性:interface Display<br>旧版本信息:|类名:Display;<br>方法or属性:interface Display<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Display;<br>方法or属性:id: number;<br>旧版本信息:|类名:Display;<br>方法or属性:id: number;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:Display;<br>方法or属性:orientation: Orientation;<br>旧版本信息:|类名:Display;<br>方法or属性:orientation: Orientation;<br>新版本信息:crossplatform|@ohos.display.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:declare window<br>旧版本信息:|类名:window;<br>方法or属性:declare window<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>旧版本信息:|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>旧版本信息:|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext): Promise\<Window>;<br>旧版本信息:|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowType;<br>方法or属性:enum WindowType<br>旧版本信息:|类名:WindowType;<br>方法or属性:enum WindowType<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowType;<br>方法or属性:TYPE_APP<br>旧版本信息:|类名:WindowType;<br>方法or属性:TYPE_APP<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:interface Rect<br>旧版本信息:|类名:Rect;<br>方法or属性:interface Rect<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:left: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:left: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:top: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:top: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:width: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Size;<br>方法or属性:width: number;<br>旧版本信息:|类名:Size;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Rect;<br>方法or属性:height: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Size;<br>方法or属性:height: number;<br>旧版本信息:|类名:Size;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Size;<br>方法or属性:interface Size<br>旧版本信息:|类名:Size;<br>方法or属性:interface Size<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:interface WindowProperties<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:interface WindowProperties<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:brightness: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:brightness: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:interface Configuration<br>旧版本信息:|类名:Configuration;<br>方法or属性:interface Configuration<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:name: string;<br>旧版本信息:|类名:Configuration;<br>方法or属性:name: string;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>旧版本信息:|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>旧版本信息:|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:displayId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:displayId?: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Configuration;<br>方法or属性:parentId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:parentId?: number;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:enum Orientation<br>旧版本信息:|类名:Orientation;<br>方法or属性:enum Orientation<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:UNSPECIFIED = 0<br>旧版本信息:|类名:Orientation;<br>方法or属性:UNSPECIFIED = 0<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT = 1<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT = 1<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE = 2<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE = 2<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 3<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 3<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 4<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 4<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:showWindow(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:showWindow(callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:showWindow(): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:showWindow(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:destroyWindow(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:destroyWindow(callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:destroyWindow(): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:destroyWindow(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:resize(width: number, height: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:resize(width: number, height: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:resize(width: number, height: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:resize(width: number, height: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:getWindowProperties(): WindowProperties;<br>旧版本信息:|类名:Window;<br>方法or属性:getWindowProperties(): WindowProperties;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setUIContent(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setUIContent(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setUIContent(path: string): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setUIContent(path: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:isWindowShowing(): boolean;<br>旧版本信息:|类名:Window;<br>方法or属性:isWindowShowing(): boolean;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBackgroundColor(color: string): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBackgroundColor(color: string): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:interface WindowStage<br>旧版本信息:|类名:WindowStage;<br>方法or属性:interface WindowStage<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindow(): Promise\<Window>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindow(): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindow(callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindow(callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindowSync(): Window;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindowSync(): Window;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:createSubWindow(name: string): Promise\<Window>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:createSubWindow(name: string): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:createSubWindow(name: string, callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:createSubWindow(name: string, callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getSubWindow(): Promise\<Array\<Window>>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getSubWindow(): Promise\<Array\<Window>>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getSubWindow(callback: AsyncCallback\<Array\<Window>>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getSubWindow(callback: AsyncCallback\<Array\<Window>>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\<void>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:on(eventType: 'windowStageEvent', callback: Callback\<WindowStageEventType>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:on(eventType: 'windowStageEvent', callback: Callback\<WindowStageEventType>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
|跨平台能力有变化|类名:WindowStage;<br>方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\<WindowStageEventType>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\<WindowStageEventType>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts|
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册