harmony 鸿蒙js-apidiff-telephony

  • 2023-06-24
  • 浏览 (380)

Change Type Old Version New Version d.ts File
Added NA Class name: call
Method or attribute name: function dialCall(phoneNumber: string, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function dialCall(phoneNumber: string, options?: DialCallOptions): Promise<void>;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function answerCall(callId: number, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function answerCall(callId?: number): Promise<void>;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function answerCall(callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function hangUpCall(callId: number, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function hangUpCall(callId?: number): Promise<void>;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function hangUpCall(callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function rejectCall(callId: number, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function rejectCall(callId?: number, options?: RejectMessageOptions): Promise<void>;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function rejectCall(callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call
Method or attribute name: function rejectCall(options: RejectMessageOptions, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Module name: ohos.telephony.call
Class name: DialCallOptions
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions
Method or attribute name:
@ohos.telephony.call.d.ts
Added NA Module name: ohos.telephony.call
Class name: DialCallOptions
Method or attribute name: accountId?: number;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions
Method or attribute name: accountId?: number;
@ohos.telephony.call.d.ts
Added NA Module name: ohos.telephony.call
Class name: DialCallOptions
Method or attribute name: videoState?: VideoStateType;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions
Method or attribute name: videoState?: VideoStateType;
@ohos.telephony.call.d.ts
Added NA Module name: ohos.telephony.call
Class name: DialCallOptions
Method or attribute name: dialScene?: DialScene;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions
Method or attribute name: dialScene?: DialScene;
@ohos.telephony.call.d.ts
Added NA Module name: ohos.telephony.call
Class name: DialCallOptions
Method or attribute name: dialType?: DialType;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions
Method or attribute name: dialType?: DialType;
@ohos.telephony.call.d.ts
Added NA Class name: radio
Method or attribute name: function isNRSupported(): boolean;
@ohos.telephony.radio.d.ts
Added NA Class name: radio
Method or attribute name: function isNRSupported(slotId: number): boolean;
@ohos.telephony.radio.d.ts
Added NA Module name: ohos.telephony.radio
Class name: SignalInformation
Method or attribute name: dBm: number;
@ohos.telephony.radio.d.ts
Added NA Class name: SignalInformation
Method or attribute name: dBm: number;
@ohos.telephony.radio.d.ts
Added NA Class name: OperatorConfigKey
Method or attribute name: KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY = “ims_call_disconnect_reason_info_mapping_string_array”
@ohos.telephony.sim.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function answer(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function answer(callId?: number): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function answer(callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function hangup(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function hangup(callId?: number): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function hangup(callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function reject(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function reject(callId?: number, options?: RejectMessageOptions): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function reject(callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.call
Class name: call
Method or attribute name: function reject(options: RejectMessageOptions, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Module name: ohos.telephony.sim
Class name: OperatorConfigKey
Method or attribute name: KEY_IMS_CALL_DISCONNECT_REASONINFO_MAPPING_STRING_ARRAY = “ims_call_disconnect_reasoninfo_mapping_string_array”
NA @ohos.telephony.sim.d.ts
Deprecated version changed Class name: call
Method or attribute name: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
Deprecated version: N/A
Class name: call
Method or attribute name: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
Deprecated version: 9
Substitute API: telephony.call
@ohos.telephony.call.d.ts
Deprecated version changed Class name: call
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
Deprecated version: N/A
Class name: call
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
Deprecated version: 9
Substitute API: telephony.call
@ohos.telephony.call.d.ts
Deprecated version changed Class name: call
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
Deprecated version: N/A
Class name: call
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
Deprecated version: 9
Substitute API: telephony.call
@ohos.telephony.call.d.ts
Deprecated version changed Class name: radio
Method or attribute name: function isNrSupported(): boolean;
Deprecated version: N/A
Class name: radio
Method or attribute name: function isNrSupported(): boolean;
Deprecated version: 9
Substitute API: telephony.radio
@ohos.telephony.radio.d.ts
Deprecated version changed Class name: radio
Method or attribute name: function isNrSupported(slotId: number): boolean;
Deprecated version: N/A
Class name: radio
Method or attribute name: function isNrSupported(slotId: number): boolean;
Deprecated version: 9
Substitute API: telephony.radio
@ohos.telephony.radio.d.ts
Error code added NA Class name: call
Method or attribute name: function muteRinger(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function muteRinger(): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function holdCall(callId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function unHoldCall(callId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function switchCall(callId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function combineConference(callId: number, callback: AsyncCallback<void>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function combineConference(callId: number): Promise<void>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getMainCallId(callId: number, callback: AsyncCallback<number>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getMainCallId(callId: number): Promise<number>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getSubCallIdList(callId: number, callback: AsyncCallback<Array<string>>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getSubCallIdList(callId: number): Promise<Array<string>>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallIdListForConference(callId: number, callback: AsyncCallback<Array<string>>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallIdListForConference(callId: number): Promise<Array<string>>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback<CallWaitingStatus>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise<CallWaitingStatus>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback<void>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise<void>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function startDTMF(callId: number, character: string, callback: AsyncCallback<void>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function startDTMF(callId: number, character: string): Promise<void>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function stopDTMF(callId: number, callback: AsyncCallback<void>): void;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function stopDTMF(callId: number): Promise<void>;
Error code: 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isInEmergencyCall(callback: AsyncCallback<boolean>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isInEmergencyCall(): Promise<boolean>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function on(type: ‘callDetailsChange’, callback: Callback<CallAttributeOptions>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function off(type: ‘callDetailsChange’, callback?: Callback<CallAttributeOptions>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function on(type: ‘callEventChange’, callback: Callback<CallEventOptions>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function off(type: ‘callEventChange’, callback?: Callback<CallEventOptions>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function on(type: ‘callDisconnectedCause’, callback: Callback<DisconnectedDetails>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function off(type: ‘callDisconnectedCause’, callback?: Callback<DisconnectedDetails>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isNewCallAllowed(callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isNewCallAllowed(): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function separateConference(callId: number, callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function separateConference(callId: number): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback<RestrictionStatus>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionStatus>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback<void>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise<void>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback<CallTransferResult>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise<CallTransferResult>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback<void>): void;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise<void>;
Error code: 201, 401, 801, 8300001, 8300002, 8300003
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isRinging(callback: AsyncCallback<boolean>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isRinging(): Promise<boolean>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setMuted(callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setMuted(): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function cancelMuted(callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function cancelMuted(): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setAudioDevice(device: AudioDevice, options: AudioDeviceOptions, callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function setAudioDevice(device: AudioDevice, options?: AudioDeviceOptions): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>, callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback<void>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise<void>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function enableImsSwitch(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function disableImsSwitch(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isImsSwitchEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: call
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.call.d.ts
Error code added NA Class name: data
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function isCellularDataEnabled(callback: AsyncCallback<boolean>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function isCellularDataEnabled(): Promise<boolean>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function enableCellularData(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function enableCellularData(): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function disableCellularData(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function disableCellularData(): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function enableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function disableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: data
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.data.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘networkStateChange’, callback: Callback<NetworkState>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘networkStateChange’, options: { slotId: number }, callback: Callback<NetworkState>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘networkStateChange’, callback?: Callback<NetworkState>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘signalInfoChange’, callback: Callback<Array<SignalInformation>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘signalInfoChange’, options: { slotId: number },
callback: Callback<Array<SignalInformation>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘signalInfoChange’, callback?: Callback<Array<SignalInformation>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellInfoChange’, callback: Callback<Array<CellInformation>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellInfoChange’, options: { slotId: number },
callback: Callback<Array<CellInformation>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘cellInfoChange’, callback?: Callback<Array<CellInformation>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’,
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’, options: { slotId: number },
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘cellularDataConnectionStateChange’,
callback?: Callback<{ state: DataConnectState, network: RatType }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellularDataFlowChange’, callback: Callback<DataFlowType>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘cellularDataFlowChange’, options: { slotId: number },
callback: Callback<DataFlowType>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘cellularDataFlowChange’, callback?: Callback<DataFlowType>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘callStateChange’, callback: Callback<{ state: CallState, number: string }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘callStateChange’, options: { slotId: number },
callback: Callback<{ state: CallState, number: string }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘callStateChange’, callback?: Callback<{ state: CallState, number: string }>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘simStateChange’, callback: Callback<SimStateData>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function on(type: ‘simStateChange’, options: { slotId: number }, callback: Callback<SimStateData>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: observer
Method or attribute name: function off(type: ‘simStateChange’, callback?: Callback<SimStateData>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.observer.d.ts
Error code added NA Class name: radio
Method or attribute name: function getRadioTech(slotId: number,
callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkState(callback: AsyncCallback<NetworkState>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkState(slotId?: number): Promise<NetworkState>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkSearchInformation(slotId: number, callback: AsyncCallback<NetworkSearchResult>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise<NetworkSearchResult>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNrOptionMode(callback: AsyncCallback<NrOptionMode>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback<NrOptionMode>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getNrOptionMode(slotId?: number): Promise<NrOptionMode>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getIMEI(callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getIMEI(slotId?: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getMEID(callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getMEID(slotId?: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getUniqueDeviceId(callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getPrimarySlotId(callback: AsyncCallback<number>): void;
Error code: 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getPrimarySlotId(): Promise<number>;
Error code: 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setPrimarySlotId(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setPrimarySlotId(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getSignalInformation(slotId: number): Promise<Array<SignalInformation>>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function isRadioOn(callback: AsyncCallback<boolean>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function isRadioOn(slotId?: number): Promise<boolean>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOnRadio(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOnRadio(slotId?: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOffRadio(callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function turnOffRadio(slotId?: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getOperatorName(slotId: number, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getOperatorName(slotId: number): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getPreferredNetwork(slotId: number, callback: AsyncCallback<PreferredNetworkMode>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: radio
Method or attribute name: function getPreferredNetwork(slotId: number): Promise<PreferredNetworkMode>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.radio.d.ts
Error code added NA Class name: sim
Method or attribute name: function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimSpn(slotId: number, callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimSpn(slotId: number): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimState(slotId: number, callback: AsyncCallback<SimState>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimState(slotId: number): Promise<SimState>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getCardType(slotId: number, callback: AsyncCallback<CardType>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getCardType(slotId: number): Promise<CardType>;
Error code: 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimIccId(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimIccId(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getVoiceMailNumber(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimGid1(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimGid1(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getIMSI(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getIMSI(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function hasSimCard(slotId: number): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getSimAccountInfo(slotId: number): Promise<IccAccountInfo>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback<Array<IccAccountInfo>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getActiveSimAccountInfoList(): Promise<Array<IccAccountInfo>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function activateSim(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function activateSim(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function deactivateSim(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function deactivateSim(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setShowName(slotId: number, name: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setShowName(slotId: number, name: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getShowName(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getShowName(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setShowNumber(slotId: number, number: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getShowNumber(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getShowNumber(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getOperatorConfigs(slotId: number, callback: AsyncCallback<Array<OperatorConfig>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getOperatorConfigs(slotId: number): Promise<Array<OperatorConfig>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback<Array<DiallingNumbersInfo>>): void
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise<Array<DiallingNumbersInfo>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback<LockStatusResponse>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sim
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise<LockStatusResponse>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002
@ohos.telephony.sim.d.ts
Error code added NA Class name: sms
Method or attribute name: function splitMessage(content: string, callback: AsyncCallback<Array<string>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function splitMessage(content: string): Promise<Array<string>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getSmscAddr(slotId: number, callback: AsyncCallback<string>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getSmscAddr(slotId: number): Promise<string>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function addSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getAllSimMessages(slotId: number, callback: AsyncCallback<Array<SimShortMessage>>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getAllSimMessages(slotId: number): Promise<Array<SimShortMessage>>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise<void>;
Error code: 201, 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback<SmsSegmentsInfo>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise<SmsSegmentsInfo>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function isImsSmsSupported(slotId: number): Promise<boolean>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getImsShortMessageFormat(callback: AsyncCallback<string>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function getImsShortMessageFormat(): Promise<string>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>, callback: AsyncCallback<MmsInformation>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>): Promise<MmsInformation>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function encodeMms(mms: MmsInformation, callback: AsyncCallback<Array<number>>): void;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts
Error code added NA Class name: sms
Method or attribute name: function encodeMms(mms: MmsInformation): Promise<Array<number>>;
Error code: 401, 8300001, 8300002, 8300003, 8300999
@ohos.telephony.sms.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-dfx

0  赞