1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 4|新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, options: DialCallOptions, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 5|新增|NA|类名:call<br>方法or属性:function dialCall(phoneNumber: string, options?: DialCallOptions): Promise\<void>;|@ohos.telephony.call.d.ts| 6|新增|NA|类名:call<br>方法or属性:function answerCall(callId: number, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 7|新增|NA|类名:call<br>方法or属性:function answerCall(callId?: number): Promise\<void>;|@ohos.telephony.call.d.ts| 8|新增|NA|类名:call<br>方法or属性:function answerCall(callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 9|新增|NA|类名:call<br>方法or属性:function hangUpCall(callId: number, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 10|新增|NA|类名:call<br>方法or属性:function hangUpCall(callId?: number): Promise\<void>;|@ohos.telephony.call.d.ts| 11|新增|NA|类名:call<br>方法or属性:function hangUpCall(callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 12|新增|NA|类名:call<br>方法or属性:function rejectCall(callId: number, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 13|新增|NA|类名:call<br>方法or属性:function rejectCall(callId: number, options: RejectMessageOptions, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 14|新增|NA|类名:call<br>方法or属性:function rejectCall(callId?: number, options?: RejectMessageOptions): Promise\<void>;|@ohos.telephony.call.d.ts| 15|新增|NA|类名:call<br>方法or属性:function rejectCall(callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 16|新增|NA|类名:call<br>方法or属性:function rejectCall(options: RejectMessageOptions, callback: AsyncCallback\<void>): void;|@ohos.telephony.call.d.ts| 17|新增|NA|模块名: ohos.telephony.call<br>类名: DialCallOptions|@ohos.telephony.call.d.ts| 18|新增|NA|类名:DialCallOptions<br>方法or属性:|@ohos.telephony.call.d.ts| 19|新增|NA|模块名: ohos.telephony.call<br>类名: DialCallOptions<br>方法 or 属性:accountId?: number;|@ohos.telephony.call.d.ts| 20|新增|NA|类名:DialCallOptions<br>方法or属性:accountId?: number;|@ohos.telephony.call.d.ts| 21|新增|NA|模块名: ohos.telephony.call<br>类名: DialCallOptions<br>方法 or 属性:videoState?: VideoStateType;|@ohos.telephony.call.d.ts| 22|新增|NA|类名:DialCallOptions<br>方法or属性:videoState?: VideoStateType;|@ohos.telephony.call.d.ts| 23|新增|NA|模块名: ohos.telephony.call<br>类名: DialCallOptions<br>方法 or 属性:dialScene?: DialScene;|@ohos.telephony.call.d.ts| 24|新增|NA|类名:DialCallOptions<br>方法or属性:dialScene?: DialScene;|@ohos.telephony.call.d.ts| 25|新增|NA|模块名: ohos.telephony.call<br>类名: DialCallOptions<br>方法 or 属性:dialType?: DialType;|@ohos.telephony.call.d.ts| 26|新增|NA|类名:DialCallOptions<br>方法or属性:dialType?: DialType;|@ohos.telephony.call.d.ts| 27|新增|NA|类名:radio<br>方法or属性:function isNRSupported(): boolean;|@ohos.telephony.radio.d.ts| 28|新增|NA|类名:radio<br>方法or属性:function isNRSupported(slotId: number): boolean;|@ohos.telephony.radio.d.ts| 29|新增|NA|模块名: ohos.telephony.radio<br>类名: SignalInformation<br>方法 or 属性:dBm: number;|@ohos.telephony.radio.d.ts| 30|新增|NA|类名:SignalInformation<br>方法or属性:dBm: number;|@ohos.telephony.radio.d.ts| 31|新增|NA|类名:OperatorConfigKey<br>方法or属性:KEY_IMS_CALL_DISCONNECT_REASON_INFO_MAPPING_STRING_ARRAY = "ims_call_disconnect_reason_info_mapping_string_array"|@ohos.telephony.sim.d.ts| 32|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function answer(callId: number, callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 33|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function answer(callId?: number): Promise\<void>;|NA|@ohos.telephony.call.d.ts| 34|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function answer(callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 35|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function hangup(callId: number, callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 36|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function hangup(callId?: number): Promise\<void>;|NA|@ohos.telephony.call.d.ts| 37|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function hangup(callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 38|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function reject(callId: number, callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 39|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 40|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function reject(callId?: number, options?: RejectMessageOptions): Promise\<void>;|NA|@ohos.telephony.call.d.ts| 41|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function reject(callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 42|删除|模块名:ohos.telephony.call<br>类名:call<br>方法 or 属性:function reject(options: RejectMessageOptions, callback: AsyncCallback\<void>): void;|NA|@ohos.telephony.call.d.ts| 43|删除|模块名:ohos.telephony.sim<br>类名:OperatorConfigKey<br>方法 or 属性:KEY_IMS_CALL_DISCONNECT_REASONINFO_MAPPING_STRING_ARRAY = "ims_call_disconnect_reasoninfo_mapping_string_array"|NA|@ohos.telephony.sim.d.ts| 44|废弃版本有变化|类名:call<br>方法 or 属性:function dial(phoneNumber: string, callback: AsyncCallback\<boolean>): void;<br>废弃版本:N/A|类名:call<br>方法 or 属性:function dial(phoneNumber: string, callback: AsyncCallback\<boolean>): void;<br>废弃版本:9<br>代替接口:telephony.call|@ohos.telephony.call.d.ts| 45|废弃版本有变化|类名:call<br>方法 or 属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>废弃版本:N/A|类名:call<br>方法 or 属性:function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback\<boolean>): void;<br>废弃版本:9<br>代替接口:telephony.call|@ohos.telephony.call.d.ts| 46|废弃版本有变化|类名:call<br>方法 or 属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>废弃版本:N/A|类名:call<br>方法 or 属性:function dial(phoneNumber: string, options?: DialOptions): Promise\<boolean>;<br>废弃版本:9<br>代替接口:telephony.call|@ohos.telephony.call.d.ts| 47|废弃版本有变化|类名:radio<br>方法 or 属性:function isNrSupported(): boolean;<br>废弃版本:N/A|类名:radio<br>方法 or 属性:function isNrSupported(): boolean;<br>废弃版本:9<br>代替接口:telephony.radio|@ohos.telephony.radio.d.ts| 48|废弃版本有变化|类名:radio<br>方法 or 属性:function isNrSupported(slotId: number): boolean;<br>废弃版本:N/A|类名:radio<br>方法 or 属性:function isNrSupported(slotId: number): boolean;<br>废弃版本:9<br>代替接口:telephony.radio|@ohos.telephony.radio.d.ts| 49|新增(错误码)|NA|类名:call<br>方法 or 属性:function muteRinger(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 50|新增(错误码)|NA|类名:call<br>方法 or 属性:function muteRinger(): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 51|新增(错误码)|NA|类名:call<br>方法 or 属性:function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 52|新增(错误码)|NA|类名:call<br>方法 or 属性:function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 53|新增(错误码)|NA|类名:call<br>方法 or 属性:function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 54|新增(错误码)|NA|类名:call<br>方法 or 属性:function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 55|新增(错误码)|NA|类名:call<br>方法 or 属性:function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 56|新增(错误码)|NA|类名:call<br>方法 or 属性:function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 57|新增(错误码)|NA|类名:call<br>方法 or 属性:function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 58|新增(错误码)|NA|类名:call<br>方法 or 属性:function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 59|新增(错误码)|NA|类名:call<br>方法 or 属性:function holdCall(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 60|新增(错误码)|NA|类名:call<br>方法 or 属性:function holdCall(callId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 61|新增(错误码)|NA|类名:call<br>方法 or 属性:function unHoldCall(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 62|新增(错误码)|NA|类名:call<br>方法 or 属性:function unHoldCall(callId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 63|新增(错误码)|NA|类名:call<br>方法 or 属性:function switchCall(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 64|新增(错误码)|NA|类名:call<br>方法 or 属性:function switchCall(callId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 65|新增(错误码)|NA|类名:call<br>方法 or 属性:function combineConference(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 66|新增(错误码)|NA|类名:call<br>方法 or 属性:function combineConference(callId: number): Promise\<void>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 67|新增(错误码)|NA|类名:call<br>方法 or 属性:function getMainCallId(callId: number, callback: AsyncCallback\<number>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 68|新增(错误码)|NA|类名:call<br>方法 or 属性:function getMainCallId(callId: number): Promise\<number>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 69|新增(错误码)|NA|类名:call<br>方法 or 属性:function getSubCallIdList(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 70|新增(错误码)|NA|类名:call<br>方法 or 属性:function getSubCallIdList(callId: number): Promise\<Array\<string>>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 71|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallIdListForConference(callId: number, callback: AsyncCallback\<Array\<string>>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 72|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallIdListForConference(callId: number): Promise\<Array\<string>>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 73|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallWaitingStatus(slotId: number, callback: AsyncCallback\<CallWaitingStatus>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 74|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallWaitingStatus(slotId: number): Promise\<CallWaitingStatus>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 75|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 76|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallWaiting(slotId: number, activate: boolean): Promise\<void>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 77|新增(错误码)|NA|类名:call<br>方法 or 属性:function startDTMF(callId: number, character: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 78|新增(错误码)|NA|类名:call<br>方法 or 属性:function startDTMF(callId: number, character: string): Promise\<void>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 79|新增(错误码)|NA|类名:call<br>方法 or 属性:function stopDTMF(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 80|新增(错误码)|NA|类名:call<br>方法 or 属性:function stopDTMF(callId: number): Promise\<void>;<br>错误码内容: 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 81|新增(错误码)|NA|类名:call<br>方法 or 属性:function isInEmergencyCall(callback: AsyncCallback\<boolean>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 82|新增(错误码)|NA|类名:call<br>方法 or 属性:function isInEmergencyCall(): Promise\<boolean>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 83|新增(错误码)|NA|类名:call<br>方法 or 属性:function on(type: 'callDetailsChange', callback: Callback\<CallAttributeOptions>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 84|新增(错误码)|NA|类名:call<br>方法 or 属性:function off(type: 'callDetailsChange', callback?: Callback\<CallAttributeOptions>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 85|新增(错误码)|NA|类名:call<br>方法 or 属性:function on(type: 'callEventChange', callback: Callback\<CallEventOptions>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 86|新增(错误码)|NA|类名:call<br>方法 or 属性:function off(type: 'callEventChange', callback?: Callback\<CallEventOptions>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 87|新增(错误码)|NA|类名:call<br>方法 or 属性:function on(type: 'callDisconnectedCause', callback: Callback\<DisconnectedDetails>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 88|新增(错误码)|NA|类名:call<br>方法 or 属性:function off(type: 'callDisconnectedCause', callback?: Callback\<DisconnectedDetails>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 89|新增(错误码)|NA|类名:call<br>方法 or 属性:function isNewCallAllowed(callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 90|新增(错误码)|NA|类名:call<br>方法 or 属性:function isNewCallAllowed(): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 91|新增(错误码)|NA|类名:call<br>方法 or 属性:function separateConference(callId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 92|新增(错误码)|NA|类名:call<br>方法 or 属性:function separateConference(callId: number): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 93|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback\<RestrictionStatus>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 94|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise\<RestrictionStatus>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 95|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 96|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise\<void>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 97|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback\<CallTransferResult>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 98|新增(错误码)|NA|类名:call<br>方法 or 属性:function getCallTransferInfo(slotId: number, type: CallTransferType): Promise\<CallTransferResult>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 99|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 100|新增(错误码)|NA|类名:call<br>方法 or 属性:function setCallTransfer(slotId: number, info: CallTransferInfo): Promise\<void>;<br>错误码内容: 201, 401, 801, 8300001, 8300002, 8300003|@ohos.telephony.call.d.ts| 101|新增(错误码)|NA|类名:call<br>方法 or 属性:function isRinging(callback: AsyncCallback\<boolean>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 102|新增(错误码)|NA|类名:call<br>方法 or 属性:function isRinging(): Promise\<boolean>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 103|新增(错误码)|NA|类名:call<br>方法 or 属性:function setMuted(callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 104|新增(错误码)|NA|类名:call<br>方法 or 属性:function setMuted(): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 105|新增(错误码)|NA|类名:call<br>方法 or 属性:function cancelMuted(callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 106|新增(错误码)|NA|类名:call<br>方法 or 属性:function cancelMuted(): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 107|新增(错误码)|NA|类名:call<br>方法 or 属性:function setAudioDevice(device: AudioDevice, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 108|新增(错误码)|NA|类名:call<br>方法 or 属性:function setAudioDevice(device: AudioDevice, options: AudioDeviceOptions, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 109|新增(错误码)|NA|类名:call<br>方法 or 属性:function setAudioDevice(device: AudioDevice, options?: AudioDeviceOptions): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 110|新增(错误码)|NA|类名:call<br>方法 or 属性:function joinConference(mainCallId: number, callNumberList: Array\<string>, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 111|新增(错误码)|NA|类名:call<br>方法 or 属性:function joinConference(mainCallId: number, callNumberList: Array\<string>): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 112|新增(错误码)|NA|类名:call<br>方法 or 属性:function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback\<void>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 113|新增(错误码)|NA|类名:call<br>方法 or 属性:function updateImsCallMode(callId: number, mode: ImsCallMode): Promise\<void>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 114|新增(错误码)|NA|类名:call<br>方法 or 属性:function enableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 115|新增(错误码)|NA|类名:call<br>方法 or 属性:function enableImsSwitch(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 116|新增(错误码)|NA|类名:call<br>方法 or 属性:function disableImsSwitch(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 117|新增(错误码)|NA|类名:call<br>方法 or 属性:function disableImsSwitch(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 118|新增(错误码)|NA|类名:call<br>方法 or 属性:function isImsSwitchEnabled(slotId: number, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 119|新增(错误码)|NA|类名:call<br>方法 or 属性:function isImsSwitchEnabled(slotId: number): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.call.d.ts| 120|新增(错误码)|NA|类名:data<br>方法 or 属性:function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001|@ohos.telephony.data.d.ts| 121|新增(错误码)|NA|类名:data<br>方法 or 属性:function setDefaultCellularDataSlotId(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001|@ohos.telephony.data.d.ts| 122|新增(错误码)|NA|类名:data<br>方法 or 属性:function isCellularDataEnabled(callback: AsyncCallback\<boolean>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 123|新增(错误码)|NA|类名:data<br>方法 or 属性:function isCellularDataEnabled(): Promise\<boolean>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 124|新增(错误码)|NA|类名:data<br>方法 or 属性:function enableCellularData(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 125|新增(错误码)|NA|类名:data<br>方法 or 属性:function enableCellularData(): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 126|新增(错误码)|NA|类名:data<br>方法 or 属性:function disableCellularData(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 127|新增(错误码)|NA|类名:data<br>方法 or 属性:function disableCellularData(): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 128|新增(错误码)|NA|类名:data<br>方法 or 属性:function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 129|新增(错误码)|NA|类名:data<br>方法 or 属性:function isCellularDataRoamingEnabled(slotId: number): Promise\<boolean>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 130|新增(错误码)|NA|类名:data<br>方法 or 属性:function enableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 131|新增(错误码)|NA|类名:data<br>方法 or 属性:function enableCellularDataRoaming(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 132|新增(错误码)|NA|类名:data<br>方法 or 属性:function disableCellularDataRoaming(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 133|新增(错误码)|NA|类名:data<br>方法 or 属性:function disableCellularDataRoaming(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.data.d.ts| 134|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'networkStateChange', callback: Callback\<NetworkState>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 135|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback\<NetworkState>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 136|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'networkStateChange', callback?: Callback\<NetworkState>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 137|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'signalInfoChange', callback: Callback\<Array\<SignalInformation>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 138|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'signalInfoChange', options: { slotId: number },<br> callback: Callback\<Array\<SignalInformation>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 139|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'signalInfoChange', callback?: Callback\<Array\<SignalInformation>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 140|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellInfoChange', callback: Callback\<Array\<CellInformation>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 141|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellInfoChange', options: { slotId: number },<br> callback: Callback\<Array\<CellInformation>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 142|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'cellInfoChange', callback?: Callback\<Array\<CellInformation>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 143|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellularDataConnectionStateChange',<br> callback: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 144|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellularDataConnectionStateChange', options: { slotId: number },<br> callback: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 145|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'cellularDataConnectionStateChange',<br> callback?: Callback\<{ state: DataConnectState, network: RatType }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 146|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellularDataFlowChange', callback: Callback\<DataFlowType>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 147|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'cellularDataFlowChange', options: { slotId: number },<br> callback: Callback\<DataFlowType>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 148|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'cellularDataFlowChange', callback?: Callback\<DataFlowType>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 149|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'callStateChange', callback: Callback\<{ state: CallState, number: string }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 150|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'callStateChange', options: { slotId: number },<br> callback: Callback\<{ state: CallState, number: string }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 151|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'callStateChange', callback?: Callback\<{ state: CallState, number: string }>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 152|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'simStateChange', callback: Callback\<SimStateData>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 153|新增(错误码)|NA|类名:observer<br>方法 or 属性:function on(type: 'simStateChange', options: { slotId: number }, callback: Callback\<SimStateData>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 154|新增(错误码)|NA|类名:observer<br>方法 or 属性:function off(type: 'simStateChange', callback?: Callback\<SimStateData>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.observer.d.ts| 155|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getRadioTech(slotId: number,<br> callback: AsyncCallback\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 156|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getRadioTech(slotId: number): Promise\<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 157|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkState(callback: AsyncCallback\<NetworkState>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 158|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkState(slotId: number, callback: AsyncCallback\<NetworkState>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 159|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkState(slotId?: number): Promise\<NetworkState>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 160|新增(错误码)|NA|类名:radio<br>方法 or 属性:function sendUpdateCellLocationRequest(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 161|新增(错误码)|NA|类名:radio<br>方法 or 属性:function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 162|新增(错误码)|NA|类名:radio<br>方法 or 属性:function sendUpdateCellLocationRequest(slotId?: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 163|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getCellInformation(callback: AsyncCallback\<Array\<CellInformation>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 164|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getCellInformation(slotId: number, callback: AsyncCallback\<Array\<CellInformation>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 165|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getCellInformation(slotId?: number): Promise\<Array\<CellInformation>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 166|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkSelectionMode(slotId: number, callback: AsyncCallback\<NetworkSelectionMode>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 167|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkSelectionMode(slotId: number): Promise\<NetworkSelectionMode>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 168|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 169|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 170|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkSearchInformation(slotId: number, callback: AsyncCallback\<NetworkSearchResult>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 171|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNetworkSearchInformation(slotId: number): Promise\<NetworkSearchResult>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 172|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 173|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getISOCountryCodeForNetwork(slotId: number): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 174|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNrOptionMode(callback: AsyncCallback\<NrOptionMode>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 175|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNrOptionMode(slotId: number, callback: AsyncCallback\<NrOptionMode>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 176|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getNrOptionMode(slotId?: number): Promise\<NrOptionMode>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 177|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getIMEI(callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 178|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getIMEI(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 179|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getIMEI(slotId?: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 180|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getMEID(callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 181|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getMEID(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 182|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getMEID(slotId?: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 183|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getUniqueDeviceId(callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 184|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getUniqueDeviceId(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 185|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getUniqueDeviceId(slotId?: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 186|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getPrimarySlotId(callback: AsyncCallback\<number>): void;<br>错误码内容: 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 187|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getPrimarySlotId(): Promise\<number>;<br>错误码内容: 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 188|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setPrimarySlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.radio.d.ts| 189|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setPrimarySlotId(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.radio.d.ts| 190|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getSignalInformation(slotId: number, callback: AsyncCallback\<Array\<SignalInformation>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 191|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getSignalInformation(slotId: number): Promise\<Array\<SignalInformation>>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 192|新增(错误码)|NA|类名:radio<br>方法 or 属性:function isRadioOn(callback: AsyncCallback\<boolean>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 193|新增(错误码)|NA|类名:radio<br>方法 or 属性:function isRadioOn(slotId: number, callback: AsyncCallback\<boolean>): void<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 194|新增(错误码)|NA|类名:radio<br>方法 or 属性:function isRadioOn(slotId?: number): Promise\<boolean>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 195|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOnRadio(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 196|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOnRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 197|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOnRadio(slotId?: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 198|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOffRadio(callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 199|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOffRadio(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 200|新增(错误码)|NA|类名:radio<br>方法 or 属性:function turnOffRadio(slotId?: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 201|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getOperatorName(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 202|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getOperatorName(slotId: number): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 203|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 204|新增(错误码)|NA|类名:radio<br>方法 or 属性:function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 205|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getPreferredNetwork(slotId: number, callback: AsyncCallback\<PreferredNetworkMode>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 206|新增(错误码)|NA|类名:radio<br>方法 or 属性:function getPreferredNetwork(slotId: number): Promise\<PreferredNetworkMode>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.radio.d.ts| 207|新增(错误码)|NA|类名:sim<br>方法 or 属性:function hasOperatorPrivileges(slotId: number, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 208|新增(错误码)|NA|类名:sim<br>方法 or 属性:function hasOperatorPrivileges(slotId: number): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 209|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 210|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getISOCountryCodeForSim(slotId: number): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 211|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 212|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimOperatorNumeric(slotId: number): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 213|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 214|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimSpn(slotId: number): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 215|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 216|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimState(slotId: number): Promise\<SimState>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 217|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getCardType(slotId: number, callback: AsyncCallback\<CardType>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 218|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getCardType(slotId: number): Promise\<CardType>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 219|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 220|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimIccId(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 221|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 222|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getVoiceMailIdentifier(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 223|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getVoiceMailNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 224|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getVoiceMailNumber(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 225|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 226|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 227|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 228|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimTelephoneNumber(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 229|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 230|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimGid1(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 231|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getIMSI(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 232|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getIMSI(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 233|新增(错误码)|NA|类名:sim<br>方法 or 属性:function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 234|新增(错误码)|NA|类名:sim<br>方法 or 属性:function hasSimCard(slotId: number): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 235|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimAccountInfo(slotId: number, callback: AsyncCallback\<IccAccountInfo>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 236|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getSimAccountInfo(slotId: number): Promise\<IccAccountInfo>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 237|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getActiveSimAccountInfoList(callback: AsyncCallback\<Array\<IccAccountInfo>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 238|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getActiveSimAccountInfoList(): Promise\<Array\<IccAccountInfo>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 239|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001|@ohos.telephony.sim.d.ts| 240|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setDefaultVoiceSlotId(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301001|@ohos.telephony.sim.d.ts| 241|新增(错误码)|NA|类名:sim<br>方法 or 属性:function activateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 242|新增(错误码)|NA|类名:sim<br>方法 or 属性:function activateSim(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 243|新增(错误码)|NA|类名:sim<br>方法 or 属性:function deactivateSim(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 244|新增(错误码)|NA|类名:sim<br>方法 or 属性:function deactivateSim(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 245|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setShowName(slotId: number, name: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 246|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setShowName(slotId: number, name: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 247|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getShowName(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 248|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getShowName(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 249|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setShowNumber(slotId: number, number: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 250|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setShowNumber(slotId: number, number: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 251|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getShowNumber(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 252|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getShowNumber(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 253|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getOperatorConfigs(slotId: number, callback: AsyncCallback\<Array\<OperatorConfig>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 254|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getOperatorConfigs(slotId: number): Promise\<Array\<OperatorConfig>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sim.d.ts| 255|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPin(slotId: number, pin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 256|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPin(slotId: number, pin: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 257|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 258|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPuk(slotId: number, newPin: string, puk: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 259|新增(错误码)|NA|类名:sim<br>方法 or 属性:function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 260|新增(错误码)|NA|类名:sim<br>方法 or 属性:function alterPin(slotId: number, newPin: string, oldPin: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 261|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 262|新增(错误码)|NA|类名:sim<br>方法 or 属性:function setLockState(slotId: number, options: LockInfo): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 263|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 264|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPin2(slotId: number, pin2: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 265|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 266|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 267|新增(错误码)|NA|类名:sim<br>方法 or 属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 268|新增(错误码)|NA|类名:sim<br>方法 or 属性:function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 269|新增(错误码)|NA|类名:sim<br>方法 or 属性:function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback\<Array\<DiallingNumbersInfo>>): void<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 270|新增(错误码)|NA|类名:sim<br>方法 or 属性:function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise\<Array\<DiallingNumbersInfo>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 271|新增(错误码)|NA|类名:sim<br>方法 or 属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 272|新增(错误码)|NA|类名:sim<br>方法 or 属性:function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 273|新增(错误码)|NA|类名:sim<br>方法 or 属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 274|新增(错误码)|NA|类名:sim<br>方法 or 属性:function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 275|新增(错误码)|NA|类名:sim<br>方法 or 属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 276|新增(错误码)|NA|类名:sim<br>方法 or 属性:function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 277|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback\<LockState>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 278|新增(错误码)|NA|类名:sim<br>方法 or 属性:function getLockState(slotId: number, lockType: LockType): Promise\<LockState>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 279|新增(错误码)|NA|类名:sim<br>方法 or 属性:function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 280|新增(错误码)|NA|类名:sim<br>方法 or 属性:function sendEnvelopeCmd(slotId: number, cmd: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 281|新增(错误码)|NA|类名:sim<br>方法 or 属性:function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 282|新增(错误码)|NA|类名:sim<br>方法 or 属性:function sendTerminalResponseCmd(slotId: number, cmd: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sim.d.ts| 283|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback\<LockStatusResponse>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 284|新增(错误码)|NA|类名:sim<br>方法 or 属性:function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise\<LockStatusResponse>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999, 8301002|@ohos.telephony.sim.d.ts| 285|新增(错误码)|NA|类名:sms<br>方法 or 属性:function splitMessage(content: string, callback: AsyncCallback\<Array\<string>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 286|新增(错误码)|NA|类名:sms<br>方法 or 属性:function splitMessage(content: string): Promise\<Array\<string>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 287|新增(错误码)|NA|类名:sms<br>方法 or 属性:function createMessage(pdu: Array\<number>, specification: string, callback: AsyncCallback\<ShortMessage>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 288|新增(错误码)|NA|类名:sms<br>方法 or 属性:function createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 289|新增(错误码)|NA|类名:sms<br>方法 or 属性:function sendMessage(options: SendMessageOptions): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 290|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sms.d.ts| 291|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setDefaultSmsSlotId(slotId: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300004, 8300999|@ohos.telephony.sms.d.ts| 292|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 293|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setSmscAddr(slotId: number, smscAddr: string): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 294|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getSmscAddr(slotId: number, callback: AsyncCallback\<string>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 295|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getSmscAddr(slotId: number): Promise\<string>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 296|新增(错误码)|NA|类名:sms<br>方法 or 属性:function addSimMessage(options: SimMessageOptions, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 297|新增(错误码)|NA|类名:sms<br>方法 or 属性:function addSimMessage(options: SimMessageOptions): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 298|新增(错误码)|NA|类名:sms<br>方法 or 属性:function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 299|新增(错误码)|NA|类名:sms<br>方法 or 属性:function delSimMessage(slotId: number, msgIndex: number): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 300|新增(错误码)|NA|类名:sms<br>方法 or 属性:function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 301|新增(错误码)|NA|类名:sms<br>方法 or 属性:function updateSimMessage(options: UpdateSimMessageOptions): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 302|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getAllSimMessages(slotId: number, callback: AsyncCallback\<Array\<SimShortMessage>>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 303|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getAllSimMessages(slotId: number): Promise\<Array\<SimShortMessage>>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 304|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setCBConfig(options: CBConfigOptions, callback: AsyncCallback\<void>): void;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 305|新增(错误码)|NA|类名:sms<br>方法 or 属性:function setCBConfig(options: CBConfigOptions): Promise\<void>;<br>错误码内容: 201, 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 306|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback\<SmsSegmentsInfo>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 307|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise\<SmsSegmentsInfo>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 308|新增(错误码)|NA|类名:sms<br>方法 or 属性:function isImsSmsSupported(slotId: number, callback: AsyncCallback\<boolean>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 309|新增(错误码)|NA|类名:sms<br>方法 or 属性:function isImsSmsSupported(slotId: number): Promise\<boolean>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 310|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getImsShortMessageFormat(callback: AsyncCallback\<string>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 311|新增(错误码)|NA|类名:sms<br>方法 or 属性:function getImsShortMessageFormat(): Promise\<string>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 312|新增(错误码)|NA|类名:sms<br>方法 or 属性:function decodeMms(mmsFilePathName: string \| Array\<number>, callback: AsyncCallback\<MmsInformation>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 313|新增(错误码)|NA|类名:sms<br>方法 or 属性:function decodeMms(mmsFilePathName: string \| Array\<number>): Promise\<MmsInformation>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 314|新增(错误码)|NA|类名:sms<br>方法 or 属性:function encodeMms(mms: MmsInformation, callback: AsyncCallback\<Array\<number>>): void;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 315|新增(错误码)|NA|类名:sms<br>方法 or 属性:function encodeMms(mms: MmsInformation): Promise\<Array\<number>>;<br>错误码内容: 401, 8300001, 8300002, 8300003, 8300999|@ohos.telephony.sms.d.ts| 316