| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Deleted | Class name: AudioDeviceInfo; Method or attribute name: audioDeviceList: Array<AudioDevice>; | NA | @ohos.telephony.call.d.ts |
| Deleted | Class name: AudioDeviceInfo; Method or attribute name: currentAudioDevice: AudioDevice; | NA | @ohos.telephony.call.d.ts |
| Deleted | Class name: AudioDeviceInfo; Method or attribute name: isMuted: boolean; | NA | @ohos.telephony.call.d.ts |
| Added | NA | Class name: AudioDeviceCallbackInfo; Method or attribute name: audioDeviceList: Array<AudioDevice>; | @ohos.telephony.call.d.ts |
| Added | NA | Class name: AudioDeviceCallbackInfo; Method or attribute name: currentAudioDevice: AudioDevice; | @ohos.telephony.call.d.ts |
| Added | NA | Class name: AudioDeviceCallbackInfo; Method or attribute name: isMuted: boolean; | @ohos.telephony.call.d.ts |
| Added | NA | Class name: call; Method or attribute name: function hasCallSync(): boolean; | @ohos.telephony.call.d.ts |
| Added | NA | Class name: call; Method or attribute name: function getCallStateSync(): CallState; | @ohos.telephony.call.d.ts |
| Added | NA | Class name: radio; Method or attribute name: function getISOCountryCodeForNetworkSync(slotId: number): string; | @ohos.telephony.radio.d.ts |
| Added | NA | Class name: radio; Method or attribute name: function getSignalInformationSync(slotId: number): Array<SignalInformation>; | @ohos.telephony.radio.d.ts |
| Added | NA | Class name: radio; Method or attribute name: function getOperatorNameSync(slotId: number): string; | @ohos.telephony.radio.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function isSimActiveSync(slotId: number): boolean; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getISOCountryCodeForSimSync(slotId: number): string; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getSimOperatorNumericSync(slotId: number): string; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getSimSpnSync(slotId: number): string; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getSimStateSync(slotId: number): SimState; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getCardTypeSync(slotId: number): CardType; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function hasSimCardSync(slotId: number): boolean; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getOpKeySync(slotId: number): string; | @ohos.telephony.sim.d.ts |
| Added | NA | Class name: sim; Method or attribute name: function getOpNameSync(slotId: number): string; | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: export interface IccAccountInfo Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: export interface IccAccountInfo New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: simId: number; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: simId: number; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: slotIndex: number; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: slotIndex: number; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: isEsim: boolean; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: isEsim: boolean; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: isActive: boolean; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: isActive: boolean; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: iccId: string; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: iccId: string; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: showName: string; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: showName: string; New version information: | @ohos.telephony.sim.d.ts |
| Access level changed | Class name: IccAccountInfo; Method or attribute name: showNumber: string; Old version information: systemapi | Class name: IccAccountInfo; Method or attribute name: showNumber: string; New version information: | @ohos.telephony.sim.d.ts |
| Permission changed | Class name: sim; Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback<string>): void; Old version information: ohos.permission.GET_TELEPHONY_STATE | Class name: sim; Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback<string>): void; New version information: ohos.permission.GET_PHONE_NUMBERS | @ohos.telephony.sim.d.ts |
| Permission changed | Class name: sim; Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise<string>; Old version information: ohos.permission.GET_TELEPHONY_STATE | Class name: sim; Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise<string>; New version information: ohos.permission.GET_PHONE_NUMBERS | @ohos.telephony.sim.d.ts |
| Function changed | Class name: call; Method or attribute name: function on(type: 'audioDeviceChange', callback: Callback<AudioDeviceInfo>): void; | Class name: call; Method or attribute name: function on(type: 'audioDeviceChange', callback: Callback<AudioDeviceCallbackInfo>): void; | @ohos.telephony.call.d.ts |
| Function changed | Class name: call; Method or attribute name: function off(type: 'audioDeviceChange', callback?: Callback<AudioDeviceInfo>): void; | Class name: call; Method or attribute name: function off(type: 'audioDeviceChange', callback?: Callback<AudioDeviceCallbackInfo>): void; | @ohos.telephony.call.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication