| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: AudioDeviceType;
Method or attribute name: DEVICE_EARPIECE|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDeviceType;
Method or attribute name: DEVICE_SPEAKER|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDeviceType;
Method or attribute name: DEVICE_WIRED_HEADSET|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDeviceType;
Method or attribute name: DEVICE_BLUETOOTH_SCO|@ohos.telephony.call.d.ts|
|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_UNKNOWN|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_SA_ONLY|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NROptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA|@ohos.telephony.radio.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: call;
Method or attribute name: function on(type: 'audioDeviceChange', callback: Callback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function off(type: 'audioDeviceChange', callback?: Callback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function setCallRestrictionPassword(slotId: number, oldPassword: string, newPassword: string): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function kickOutFromConference(callId: number, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function kickOutFromConference(callId: number): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function closeUnfinishedUssd(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function closeUnfinishedUssd(slotId: number): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function setVoNRState(slotId: number, state: VoNRState): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function getVoNRState(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function getVoNRState(slotId: number): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function canSetCallTransferTime(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function canSetCallTransferTime(slotId: number): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string, callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function inputDialerSpecialCode(inputCode: string): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function removeMissedIncomingCallNotification(callback: AsyncCallback\): void;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: call;
Method or attribute name: function removeMissedIncomingCallNotification(): Promise\;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: VoNRState;
Method or attribute name: VONR_STATE_OFF = 0|@ohos.telephony.call.d.ts|
|Added|NA|Class name: VoNRState;
Method or attribute name: VONR_STATE_ON = 1|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDevice;
Method or attribute name: deviceType: AudioDeviceType;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDevice;
Method or attribute name: address?: string;|@ohos.telephony.call.d.ts|
|Added|NA|Class name: AudioDeviceCallbackInfo;
Method or attribute name: audioDeviceList: Array\;|@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: data;
Method or attribute name: function getDefaultCellularDataSimId(): number;|@ohos.telephony.data.d.ts|
|Added|NA|Class name: observer;
Method or attribute name: function on(type: 'iccAccountInfoChange', callback: Callback\): void;|@ohos.telephony.observer.d.ts|
|Added|NA|Class name: observer;
Method or attribute name: function off(type: 'iccAccountInfoChange', callback?: Callback\): void;|@ohos.telephony.observer.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\;|@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: radio;
Method or attribute name: function getBasebandVersion(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function getBasebandVersion(slotId: number): Promise\;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function setNROptionMode(slotId: number, mode: NROptionMode, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function setNROptionMode(slotId: number, mode: NROptionMode): Promise\;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function getNROptionMode(slotId: number, callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function getNROptionMode(slotId: number): Promise\;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState,
callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState): Promise\;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function getNetworkCapability(slotId: number, type: NetworkCapabilityType,
callback: AsyncCallback\): void;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: radio;
Method or attribute name: function getNetworkCapability(slotId: number, type: NetworkCapabilityType): Promise\;|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NetworkCapabilityType;
Method or attribute name: SERVICE_TYPE_LTE|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NetworkCapabilityType;
Method or attribute name: SERVICE_TYPE_NR|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NetworkCapabilityState;
Method or attribute name: SERVICE_CAPABILITY_OFF|@ohos.telephony.radio.d.ts|
|Added|NA|Class name: NetworkCapabilityState;
Method or attribute name: SERVICE_CAPABILITY_ON|@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|
|Added|NA|Class name: sim;
Method or attribute name: function getDefaultVoiceSimId(callback: AsyncCallback\): void;|@ohos.telephony.sim.d.ts|
|Added|NA|Class name: sim;
Method or attribute name: function getDefaultVoiceSimId(): Promise\;|@ohos.telephony.sim.d.ts|
|Added|NA|Class name: sms;
Method or attribute name: function sendShortMessage(options: SendMessageOptions, callback: AsyncCallback\): void;|@ohos.telephony.sms.d.ts|
|Added|NA|Class name: sms;
Method or attribute name: function sendShortMessage(options: SendMessageOptions): Promise\;|@ohos.telephony.sms.d.ts|
|Added|NA|Class name: sms;
Method or attribute name: function getDefaultSmsSimId(callback: AsyncCallback\): void;|@ohos.telephony.sms.d.ts|
|Added|NA|Class name: sms;
Method or attribute name: function getDefaultSmsSimId(): Promise\;|@ohos.telephony.sms.d.ts|
|Deprecated version changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\): void;
New version information: 9
Substitute API: telephony.call#dialCall|@ohos.telephony.call.d.ts|
|Deprecated version changed|Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise\;
New version information: 9
Substitute API: telephony.call#dialCall|@ohos.telephony.call.d.ts|
|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback\): void;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
New version information: 10
Substitute API: telephony.radio#getNROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: export enum NrOptionMode
Old version information: |Class name: NrOptionMode;
Method or attribute name: export enum NrOptionMode
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_UNKNOWN
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_ONLY
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_SA_ONLY
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
Old version information: |Class name: NrOptionMode;
Method or attribute name: NR_OPTION_NSA_AND_SA
New version information: 10
Substitute API: telephony.radio#NROptionMode|@ohos.telephony.radio.d.ts|
|Deprecated version changed|Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
Old version information: |Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
New version information: 10
Substitute API: telephony.sms#sendShortMessage|@ohos.telephony.sms.d.ts|
|Error code added|Class name: call;
Method or attribute name: function muteRinger(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function muteRinger(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\): void;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function holdCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function switchCall(callId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function combineConference(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise\>;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
Old version information: |Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise\>;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
Old version information: |Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise\;
New version information: 202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function separateConference(callId: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
Old version information: |Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\;
New version information: 201,202,401,801,8300001,8300002,8300003|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isRinging(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isRinging(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function setMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setMuted(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
Old version information: |Class name: call;
Method or attribute name: function cancelMuted(): Promise\;
New version information: 202,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice): Promise\;
Old version information: |Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
Old version information: |Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array\): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
Old version information: |Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
Old version information: |Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.call.d.ts|
|Error code added|Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise\;
New version information: 201,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularData(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularData(): Promise\;
New version information: 201,202,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
Old version information: |Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.data.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\): void;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },
callback: Callback\<{ state: DataConnectState, network: RatType }>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },
callback: Callback\<{ state: DataConnectState, network: RatType }>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'callStateChange', options: { slotId: number }, callback: Callback\<{ state: CallState, number: string }>): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: observer;
Method or attribute name: function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\): void;
Old version information: |Class name: observer;
Method or attribute name: function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\): void;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.observer.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
Old version information: |Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback\): void;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback\>): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback\): void;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise\;
New version information: 202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise\;
New version information: 8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise\>;
Old version information: |Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise\>;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback\): void;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise\;
New version information: 201,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
Old version information: |Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.radio.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise\;
New version information: 401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise\>;
New version information: 8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301001|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
Old version information: |Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise\>;
New version information: 201,202,401,8300001,8300002,8300003,8300999|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise\;
New version information: 201,202,401,8300001,8300002,8300003,8300004,8300999,8301002|@ohos.telephony.sim.d.ts|
|Error code added|Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;
Old version information: |Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise\;