harmony 鸿蒙js-apidiff-telephony

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

Change Type Old Version New Version d.ts File
Deleted Class name: call;
Method or attribute name: function answer(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function answer(callId: number): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function hangup(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function hangup(callId: number): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function reject(callId: number, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
NA @ohos.telephony.call.d.ts
Deleted Class name: call;
Method or attribute name: function reject(callId: number, options?: RejectMessageOptions): Promise<void>;
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: UNASSIGNED_NUMBER = 1
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: CHANNEL_UNACCEPTABLE = 6
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: NORMAL_CALL_CLEARING = 16
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: USER_BUSY = 17
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: NO_USER_RESPONDING = 18
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: USER_ALERTING_NO_ANSWER = 19
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: CALL_REJECTED = 21
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: NUMBER_CHANGED = 22
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: INVALID_NUMBER_FORMAT = 28
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: NETWORK_OUT_OF_ORDER = 38
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: TEMPORARY_FAILURE = 41
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: INVALID_PARAMETER = 1025
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: SIM_NOT_EXIT = 1026
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: SIM_PIN_NEED = 1027
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: CALL_NOT_ALLOW = 1029
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: SIM_INVALID = 1045
NA @ohos.telephony.call.d.ts
Deleted Class name: DisconnectedDetails;
Method or attribute name: UNKNOWN = 1279
NA @ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: UNASSIGNED_NUMBER = 1
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NO_ROUTE_TO_DESTINATION = 3
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CHANNEL_UNACCEPTABLE = 6
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: OPERATOR_DETERMINED_BARRING = 8
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NORMAL_CALL_CLEARING = 16
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: USER_BUSY = 17
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NO_USER_RESPONDING = 18
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: USER_ALERTING_NO_ANSWER = 19
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED = 21
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NUMBER_CHANGED = 22
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DESTINATION_OUT_OF_ORDER = 27
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INVALID_NUMBER_FORMAT = 28
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NETWORK_OUT_OF_ORDER = 38
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: TEMPORARY_FAILURE = 41
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INVALID_PARAMETER = 1025
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SIM_NOT_EXIT = 1026
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SIM_PIN_NEED = 1027
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CALL_NOT_ALLOW = 1029
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SIM_INVALID = 1045
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: UNKNOWN = 1279
@ohos.telephony.call.d.ts
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 Class name: call;
Method or attribute name: function on(type: ‘mmiCodeResult’, callback: Callback<MmiCodeResults>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call;
Method or attribute name: function off(type: ‘mmiCodeResult’, callback?: Callback<MmiCodeResults>): void;
@ohos.telephony.call.d.ts
Added NA Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, options: AudioDeviceOptions, callback: AsyncCallback<void>): void;
@ohos.telephony.call.d.ts
Added NA Class name: AudioDevice;
Method or attribute name: DEVICE_EARPIECE
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferInfo;
Method or attribute name: startHour?: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferInfo;
Method or attribute name: startMinute?: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferInfo;
Method or attribute name: endHour?: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferInfo;
Method or attribute name: endMinute?: number;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions;
Method or attribute name: accountId?: number;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions;
Method or attribute name: videoState?: VideoStateType;
@ohos.telephony.call.d.ts
Added NA Class name: DialCallOptions;
Method or attribute name: dialScene?: DialScene;
@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: CallTransferResult;
Method or attribute name: startHour: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferResult;
Method or attribute name: startMinute: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferResult;
Method or attribute name: endHour: number;
@ohos.telephony.call.d.ts
Added NA Class name: CallTransferResult;
Method or attribute name: endMinute: number;
@ohos.telephony.call.d.ts
Added NA Class name: AudioDeviceOptions;
Method or attribute name: bluetoothAddress?: string;
@ohos.telephony.call.d.ts
Added NA Class name: MmiCodeResults;
Method or attribute name: result: MmiCodeResult;
@ohos.telephony.call.d.ts
Added NA Class name: MmiCodeResults;
Method or attribute name: message: string;
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedDetails;
Method or attribute name: message: string;
@ohos.telephony.call.d.ts
Added NA Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_SUCCESS = 0
@ohos.telephony.call.d.ts
Added NA Class name: MmiCodeResult;
Method or attribute name: MMI_CODE_FAILED = 1
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CALL_COMPLETED_ELSEWHERE = 13
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CALL_REJECTED_DUE_TO_FEATURE_AT_THE_DESTINATION = 24
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: FAILED_PRE_EMPTION = 25
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NON_SELECTED_USER_CLEARING = 26
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: FACILITY_REJECTED = 29
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RESPONSE_TO_STATUS_ENQUIRY = 30
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NORMAL_UNSPECIFIED = 31
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NO_CIRCUIT_CHANNEL_AVAILABLE = 34
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SWITCHING_EQUIPMENT_CONGESTION = 42
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: ACCESS_INFORMATION_DISCARDED = 43
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: REQUEST_CIRCUIT_CHANNEL_NOT_AVAILABLE = 44
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RESOURCES_UNAVAILABLE_UNSPECIFIED = 47
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: QUALITY_OF_SERVICE_UNAVAILABLE = 49
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_SUBSCRIBED = 50
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INCOMING_CALLS_BARRED_WITHIN_THE_CUG = 55
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_AUTHORIZED = 57
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: BEARER_CAPABILITY_NOT_PRESENTLY_AVAILABLE = 58
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_AVAILABLE_UNSPECIFIED = 63
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: BEARER_SERVICE_NOT_IMPLEMENTED = 65
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: ACM_EQUALTO_OR_GREATER_THAN_THE_MAXIMUM_VALUE = 68
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: REQUESTED_FACILITY_NOT_IMPLEMENTED = 69
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: ONLY_RESTRICTED_DIGITAL_INFO_BEARER_CAPABILITY_IS_AVAILABLE = 70
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SERVICE_OR_OPTION_NOT_IMPLEMENTED_UNSPECIFIED = 79
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSACTION_IDENTIFIER_VALUE = 81
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: USER_NOT_MEMBER_OF_CUG = 87
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INCOMPATIBLE_DESTINATION = 88
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INVALID_TRANSIT_NETWORK_SELECTION = 91
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: SEMANTICALLY_INCORRECT_MESSAGE = 95
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INVALID_MANDATORY_INFORMATION = 96
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NON_EXISTENT_OR_NOT_IMPLEMENTED = 97
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: MESSAGE_TYPE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 98
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INFORMATION_ELEMENT_NON_EXISTENT_OR_NOT_IMPLEMENTED = 99
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CONDITIONAL_IE_ERROR = 100
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: MESSAGE_NOT_COMPATIBLE_WITH_PROTOCOL_STATE = 101
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RECOVERY_ON_TIMER_EXPIRED = 102
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: PROTOCOL_ERROR_UNSPECIFIED = 111
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: INTERWORKING_UNSPECIFIED = 127
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: CALL_BARRED = 240
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: FDN_BLOCKED = 241
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: IMSI_UNKNOWN_IN_VLR = 242
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: IMEI_NOT_ACCEPTED = 243
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_USSD = 244
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_SS = 245
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: DIAL_MODIFIED_TO_DIAL = 246
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_OFF = 247
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: OUT_OF_SERVICE = 248
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NO_VALID_SIM = 249
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_INTERNAL_ERROR = 250
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NETWORK_RESP_TIMEOUT = 251
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NETWORK_REJECT = 252
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_ACCESS_FAILURE = 253
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_FAILURE = 254
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_LINK_LOST = 255
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_UPLINK_FAILURE = 256
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_SETUP_FAILURE = 257
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_NORMAL = 258
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: RADIO_RELEASE_ABNORMAL = 259
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: ACCESS_CLASS_BLOCKED = 260
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedReason;
Method or attribute name: NETWORK_DETACH = 261
@ohos.telephony.call.d.ts
Added NA Class name: DisconnectedDetails;
Method or attribute name: reason: DisconnectedReason;
@ohos.telephony.call.d.ts
Added NA Class name: data;
Method or attribute name: function getDefaultCellularDataSlotIdSync(): number;
@ohos.telephony.data.d.ts
Added NA Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback<void>): void;
@ohos.telephony.radio.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 Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback<ImsRegInfo>): void;
@ohos.telephony.radio.d.ts
Added NA Class name: radio;
Method or attribute name: function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise<ImsRegInfo>;
@ohos.telephony.radio.d.ts
Added NA Class name: radio;
Method or attribute name: function on(type: ‘imsRegStateChange’, slotId: number, imsType: ImsServiceType, callback: Callback<ImsRegInfo>): void;
@ohos.telephony.radio.d.ts
Added NA Class name: radio;
Method or attribute name: function off(type: ‘imsRegStateChange’, slotId: number, imsType: ImsServiceType, callback?: Callback<ImsRegInfo>): void;
@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: ImsRegState;
Method or attribute name: IMS_UNREGISTERED
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegState;
Method or attribute name: IMS_REGISTERED
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NONE
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_LTE
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_IWLAN
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegTech;
Method or attribute name: REGISTRATION_TECH_NR
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegInfo;
Method or attribute name: imsRegState: ImsRegState;
@ohos.telephony.radio.d.ts
Added NA Class name: ImsRegInfo;
Method or attribute name: imsRegTech: ImsRegTech;
@ohos.telephony.radio.d.ts
Added NA Class name: ImsServiceType;
Method or attribute name: TYPE_VOICE
@ohos.telephony.radio.d.ts
Added NA Class name: ImsServiceType;
Method or attribute name: TYPE_VIDEO
@ohos.telephony.radio.d.ts
Added NA Class name: ImsServiceType;
Method or attribute name: TYPE_UT
@ohos.telephony.radio.d.ts
Added NA Class name: ImsServiceType;
Method or attribute name: TYPE_SMS
@ohos.telephony.radio.d.ts
Added NA Class name: sim;
Method or attribute name: function getOpKey(slotId: number, callback: AsyncCallback<string>): void;
@ohos.telephony.sim.d.ts
Added NA Class name: sim;
Method or attribute name: function getOpKey(slotId: number): Promise<string>;
@ohos.telephony.sim.d.ts
Added NA Class name: sim;
Method or attribute name: function getOpName(slotId: number, callback: AsyncCallback<string>): void;
@ohos.telephony.sim.d.ts
Added NA Class name: sim;
Method or attribute name: function getOpName(slotId: number): Promise<string>;
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_VOICE_MAIL_NUMBER_STRING = “voice_mail_number_string”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_SWITCH_ON_BY_DEFAULT_BOOL = “ims_switch_on_by_default_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_HIDE_IMS_SWITCH_BOOL = “hide_ims_switch_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_SUPPORTED_BOOL = “volte_supported_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_NR_MODE_SUPPORTED_LIST_INT_ARRAY = “nr_mode_supported_list_int_array”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_VOLTE_PROVISIONING_SUPPORTED_BOOL = “volte_provisioning_supported_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_SS_OVER_UT_SUPPORTED_BOOL = “ss_over_ut_supported_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_GBA_REQUIRED_BOOL = “ims_gba_required_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_UT_PROVISIONING_SUPPORTED_BOOL = “ut_provisioning_supported_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_IMS_PREFER_FOR_EMERGENCY_BOOL = “ims_prefer_for_emergency_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_WAITING_SERVICE_CLASS_INT = “call_waiting_service_class_int”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_CALL_TRANSFER_VISIBILITY_BOOL = “call_transfer_visibility_bool”
@ohos.telephony.sim.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
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_FORCE_VOLTE_SWITCH_ON_BOOL = “force_volte_switch_on_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_ENABLE_OPERATOR_NAME_CUST_BOOL = “enable_operator_name_cust_bool”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_OPERATOR_NAME_CUST_STRING = “operator_name_cust_string”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_SPN_DISPLAY_CONDITION_CUST_INT = “spn_display_condition_cust_int”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_PNN_CUST_STRING_ARRAY = “pnn_cust_string_array”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_OPL_CUST_STRING_ARRAY = “opl_cust_string_array”
@ohos.telephony.sim.d.ts
Added NA Class name: OperatorConfigKey;
Method or attribute name: KEY_EMERGENCY_CALL_STRING_ARRAY = “emergency_call_string_array”
@ohos.telephony.sim.d.ts
Deprecated version changed Class name: call;
Method or attribute name: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: telephony.call#dialCall
@ohos.telephony.call.d.ts
Deprecated version changed Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: telephony.call#dialCall
@ohos.telephony.call.d.ts
Deprecated version changed Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
New version: 9
Substitute API: telephony.call#dialCall
@ohos.telephony.call.d.ts
Deprecated version changed Class name: radio;
Method or attribute name: function isNrSupported(): boolean;
Old version: to use isNrSupported(slotId: number) instead.
Class name: radio;
Method or attribute name: function isNrSupported(): boolean;
New version: 9
Substitute API: telephony.radio#isNRSupported
@ohos.telephony.radio.d.ts
Deprecated version changed Class name: radio;
Method or attribute name: function isNrSupported(slotId: number): boolean;
Old version:
Class name: radio;
Method or attribute name: function isNrSupported(slotId: number): boolean;
New version: 9
Substitute API: telephony.radio#isNRSupported
@ohos.telephony.radio.d.ts
Error code added Class name: call;
Method or attribute name: function muteRinger(callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function muteRinger(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function muteRinger(): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function muteRinger(): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;
Old version:
Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;
Old version:
Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;
Old version:
Class name: call;
Method or attribute name: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void;
Old version:
Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>;
Old version:
Class name: call;
Method or attribute name: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function holdCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function holdCall(callId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function switchCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function switchCall(callId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function combineConference(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function combineConference(callId: number, callback: AsyncCallback<void>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function combineConference(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function combineConference(callId: number): Promise<void>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getMainCallId(callId: number, callback: AsyncCallback<number>): void;
Old version:
Class name: call;
Method or attribute name: function getMainCallId(callId: number, callback: AsyncCallback<number>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise<number>;
Old version:
Class name: call;
Method or attribute name: function getMainCallId(callId: number): Promise<number>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getSubCallIdList(callId: number, callback: AsyncCallback<Array<string>>): void;
Old version:
Class name: call;
Method or attribute name: function getSubCallIdList(callId: number, callback: AsyncCallback<Array<string>>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise<Array<string>>;
Old version:
Class name: call;
Method or attribute name: function getSubCallIdList(callId: number): Promise<Array<string>>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number, callback: AsyncCallback<Array<string>>): void;
Old version:
Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number, callback: AsyncCallback<Array<string>>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise<Array<string>>;
Old version:
Class name: call;
Method or attribute name: function getCallIdListForConference(callId: number): Promise<Array<string>>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback<CallWaitingStatus>): void;
Old version:
Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback<CallWaitingStatus>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise<CallWaitingStatus>;
Old version:
Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise<CallWaitingStatus>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback<void>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise<void>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string, callback: AsyncCallback<void>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function startDTMF(callId: number, character: string): Promise<void>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function stopDTMF(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function stopDTMF(callId: number, callback: AsyncCallback<void>): void;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function stopDTMF(callId: number): Promise<void>;
New version: 401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isInEmergencyCall(callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isInEmergencyCall(callback: AsyncCallback<boolean>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function isInEmergencyCall(): Promise<boolean>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function on(type: ‘callDetailsChange’, callback: Callback<CallAttributeOptions>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callDetailsChange’, callback: Callback<CallAttributeOptions>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function on(type: ‘callEventChange’, callback: Callback<CallEventOptions>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callEventChange’, callback: Callback<CallEventOptions>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function on(type: ‘callDisconnectedCause’, callback: Callback<DisconnectedDetails>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callDisconnectedCause’, callback: Callback<DisconnectedDetails>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function off(type: ‘callDetailsChange’, callback?: Callback<CallAttributeOptions>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callDetailsChange’, callback?: Callback<CallAttributeOptions>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function off(type: ‘callEventChange’, callback?: Callback<CallEventOptions>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callEventChange’, callback?: Callback<CallEventOptions>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function off(type: ‘callDisconnectedCause’, callback?: Callback<DisconnectedDetails>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callDisconnectedCause’, callback?: Callback<DisconnectedDetails>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isNewCallAllowed(callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isNewCallAllowed(callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function isNewCallAllowed(): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function separateConference(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function separateConference(callId: number, callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function separateConference(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function separateConference(callId: number): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback<RestrictionStatus>): void;
Old version:
Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback<RestrictionStatus>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionStatus>;
Old version:
Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionStatus>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback<void>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise<void>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback<CallTransferResult>): void;
Old version:
Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback<CallTransferResult>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise<CallTransferResult>;
Old version:
Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise<CallTransferResult>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback<void>): void;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise<void>;
New version: 201,401,801,8300001,8300002,8300003
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isRinging(callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isRinging(callback: AsyncCallback<boolean>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isRinging(): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function isRinging(): Promise<boolean>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setMuted(callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setMuted(callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setMuted(): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setMuted(): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function cancelMuted(callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function cancelMuted(callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function cancelMuted(): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function cancelMuted(): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, options?: AudioDeviceOptions): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, options?: AudioDeviceOptions): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>, callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function joinConference(mainCallId: number, callNumberList: Array<string>): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode, callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function updateImsCallMode(callId: number, mode: ImsCallMode): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise<boolean>;
Old version:
Class name: call;
Method or attribute name: function isImsSwitchEnabled(slotId: number): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301001
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise<void>;
Old version:
Class name: data;
Method or attribute name: function setDefaultCellularDataSlotId(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301001
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function isCellularDataEnabled(callback: AsyncCallback<boolean>): void;
Old version:
Class name: data;
Method or attribute name: function isCellularDataEnabled(callback: AsyncCallback<boolean>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise<boolean>;
Old version:
Class name: data;
Method or attribute name: function isCellularDataEnabled(): Promise<boolean>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function enableCellularData(callback: AsyncCallback<void>): void;
Old version:
Class name: data;
Method or attribute name: function enableCellularData(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function enableCellularData(): Promise<void>;
Old version:
Class name: data;
Method or attribute name: function enableCellularData(): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function disableCellularData(callback: AsyncCallback<void>): void;
Old version:
Class name: data;
Method or attribute name: function disableCellularData(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function disableCellularData(): Promise<void>;
Old version:
Class name: data;
Method or attribute name: function disableCellularData(): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>;
Old version:
Class name: data;
Method or attribute name: function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise<void>;
Old version:
Class name: data;
Method or attribute name: function enableCellularDataRoaming(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise<void>;
Old version:
Class name: data;
Method or attribute name: function disableCellularDataRoaming(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.data.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘networkStateChange’, callback: Callback<NetworkState>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘networkStateChange’, callback: Callback<NetworkState>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘networkStateChange’, options: { slotId: number }, callback: Callback<NetworkState>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘networkStateChange’, options: { slotId: number }, callback: Callback<NetworkState>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘signalInfoChange’, callback: Callback<Array<SignalInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘signalInfoChange’, callback: Callback<Array<SignalInformation>>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘signalInfoChange’, options: { slotId: number },
callback: Callback<Array<SignalInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘signalInfoChange’, options: { slotId: number },
callback: Callback<Array<SignalInformation>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, callback: Callback<Array<CellInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, callback: Callback<Array<CellInformation>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, options: { slotId: number },
callback: Callback<Array<CellInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, options: { slotId: number },
callback: Callback<Array<CellInformation>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’,
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’,
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’, options: { slotId: number },
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellularDataConnectionStateChange’, options: { slotId: number },
callback: Callback<{ state: DataConnectState, network: RatType }>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellularDataFlowChange’, callback: Callback<DataFlowType>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellularDataFlowChange’, callback: Callback<DataFlowType>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘cellularDataFlowChange’, options: { slotId: number },
callback: Callback<DataFlowType>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘cellularDataFlowChange’, options: { slotId: number },
callback: Callback<DataFlowType>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘callStateChange’, callback: Callback<{ state: CallState, number: string }>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘callStateChange’, callback: Callback<{ state: CallState, number: string }>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘callStateChange’, options: { slotId: number },
callback: Callback<{ state: CallState, number: string }>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘callStateChange’, options: { slotId: number },
callback: Callback<{ state: CallState, number: string }>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘simStateChange’, callback: Callback<SimStateData>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘simStateChange’, callback: Callback<SimStateData>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function on(type: ‘simStateChange’, options: { slotId: number }, callback: Callback<SimStateData>): void;
Old version:
Class name: observer;
Method or attribute name: function on(type: ‘simStateChange’, options: { slotId: number }, callback: Callback<SimStateData>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘networkStateChange’, callback?: Callback<NetworkState>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘networkStateChange’, callback?: Callback<NetworkState>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘signalInfoChange’, callback?: Callback<Array<SignalInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘signalInfoChange’, callback?: Callback<Array<SignalInformation>>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘cellInfoChange’, callback?: Callback<Array<CellInformation>>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘cellInfoChange’, callback?: Callback<Array<CellInformation>>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘cellularDataConnectionStateChange’,
callback?: Callback<{ state: DataConnectState, network: RatType }>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘cellularDataConnectionStateChange’,
callback?: Callback<{ state: DataConnectState, network: RatType }>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘cellularDataFlowChange’, callback?: Callback<DataFlowType>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘cellularDataFlowChange’, callback?: Callback<DataFlowType>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘callStateChange’, callback?: Callback<{ state: CallState, number: string }>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘callStateChange’, callback?: Callback<{ state: CallState, number: string }>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: observer;
Method or attribute name: function off(type: ‘simStateChange’, callback?: Callback<SimStateData>): void;
Old version:
Class name: observer;
Method or attribute name: function off(type: ‘simStateChange’, callback?: Callback<SimStateData>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.observer.d.ts
Error code added Class name: radio;
Method or attribute name: function getRadioTech(slotId: number,
callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
Old version:
Class name: radio;
Method or attribute name: function getRadioTech(slotId: number,
callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
Old version:
Class name: radio;
Method or attribute name: function getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkState(callback: AsyncCallback<NetworkState>): void;
Old version:
Class name: radio;
Method or attribute name: function getNetworkState(callback: AsyncCallback<NetworkState>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void;
Old version:
Class name: radio;
Method or attribute name: function getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise<NetworkState>;
Old version:
Class name: radio;
Method or attribute name: function getNetworkState(slotId?: number): Promise<NetworkState>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;
Old version:
Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;
Old version:
Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;
Old version:
Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void;
Old version:
Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>;
Old version:
Class name: radio;
Method or attribute name: function getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number, callback: AsyncCallback<NetworkSearchResult>): void;
Old version:
Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number, callback: AsyncCallback<NetworkSearchResult>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise<NetworkSearchResult>;
Old version:
Class name: radio;
Method or attribute name: function getNetworkSearchInformation(slotId: number): Promise<NetworkSearchResult>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise<string>;
Old version:
Class name: radio;
Method or attribute name: function getISOCountryCodeForNetwork(slotId: number): Promise<string>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback<NrOptionMode>): void;
Old version:
Class name: radio;
Method or attribute name: function getNrOptionMode(callback: AsyncCallback<NrOptionMode>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback<NrOptionMode>): void;
Old version:
Class name: radio;
Method or attribute name: function getNrOptionMode(slotId: number, callback: AsyncCallback<NrOptionMode>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise<NrOptionMode>;
Old version:
Class name: radio;
Method or attribute name: function getNrOptionMode(slotId?: number): Promise<NrOptionMode>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getIMEI(callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getIMEI(callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getIMEI(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise<string>;
Old version:
Class name: radio;
Method or attribute name: function getIMEI(slotId?: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getMEID(callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getMEID(callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getMEID(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise<string>;
Old version:
Class name: radio;
Method or attribute name: function getMEID(slotId?: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getUniqueDeviceId(callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getUniqueDeviceId(callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise<string>;
Old version:
Class name: radio;
Method or attribute name: function getUniqueDeviceId(slotId?: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getPrimarySlotId(callback: AsyncCallback<number>): void;
Old version:
Class name: radio;
Method or attribute name: function getPrimarySlotId(callback: AsyncCallback<number>): void;
New version: 8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise<number>;
Old version:
Class name: radio;
Method or attribute name: function getPrimarySlotId(): Promise<number>;
New version: 8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function setPrimarySlotId(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void;
Old version:
Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise<Array<SignalInformation>>;
Old version:
Class name: radio;
Method or attribute name: function getSignalInformation(slotId: number): Promise<Array<SignalInformation>>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function isRadioOn(callback: AsyncCallback<boolean>): void;
Old version:
Class name: radio;
Method or attribute name: function isRadioOn(callback: AsyncCallback<boolean>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void
Old version:
Class name: radio;
Method or attribute name: function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise<boolean>;
Old version:
Class name: radio;
Method or attribute name: function isRadioOn(slotId?: number): Promise<boolean>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOnRadio(callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function turnOnRadio(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function turnOnRadio(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function turnOnRadio(slotId?: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOffRadio(callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function turnOffRadio(callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function turnOffRadio(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function turnOffRadio(slotId?: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getOperatorName(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: radio;
Method or attribute name: function getOperatorName(slotId: number, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise<string>;
Old version:
Class name: radio;
Method or attribute name: function getOperatorName(slotId: number): Promise<string>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number, callback: AsyncCallback<PreferredNetworkMode>): void;
Old version:
Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number, callback: AsyncCallback<PreferredNetworkMode>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise<PreferredNetworkMode>;
Old version:
Class name: radio;
Method or attribute name: function getPreferredNetwork(slotId: number): Promise<PreferredNetworkMode>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.radio.d.ts
Error code added Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise<boolean>;
Old version:
Class name: sim;
Method or attribute name: function hasOperatorPrivileges(slotId: number): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getISOCountryCodeForSim(slotId: number): Promise<string>;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getSimOperatorNumeric(slotId: number): Promise<string>;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimSpn(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimSpn(slotId: number, callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getSimSpn(slotId: number): Promise<string>;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimState(slotId: number, callback: AsyncCallback<SimState>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimState(slotId: number, callback: AsyncCallback<SimState>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise<SimState>;
Old version:
Class name: sim;
Method or attribute name: function getSimState(slotId: number): Promise<SimState>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getCardType(slotId: number, callback: AsyncCallback<CardType>): void;
Old version:
Class name: sim;
Method or attribute name: function getCardType(slotId: number, callback: AsyncCallback<CardType>): void;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise<CardType>;
Old version:
Class name: sim;
Method or attribute name: function getCardType(slotId: number): Promise<CardType>;
New version: 401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimIccId(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimIccId(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getSimIccId(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getVoiceMailIdentifier(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getVoiceMailNumber(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function setVoiceMailInfo(slotId: number, mailName: string, mailNumber: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getSimTelephoneNumber(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimGid1(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimGid1(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getSimGid1(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getIMSI(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getIMSI(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getIMSI(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: sim;
Method or attribute name: function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise<boolean>;
Old version:
Class name: sim;
Method or attribute name: function hasSimCard(slotId: number): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void;
Old version:
Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise<IccAccountInfo>;
Old version:
Class name: sim;
Method or attribute name: function getSimAccountInfo(slotId: number): Promise<IccAccountInfo>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback<Array<IccAccountInfo>>): void;
Old version:
Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(callback: AsyncCallback<Array<IccAccountInfo>>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise<Array<IccAccountInfo>>;
Old version:
Class name: sim;
Method or attribute name: function getActiveSimAccountInfoList(): Promise<Array<IccAccountInfo>>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301001
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function setDefaultVoiceSlotId(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301001
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function activateSim(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function activateSim(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function activateSim(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function deactivateSim(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function deactivateSim(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function deactivateSim(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function setShowName(slotId: number, name: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getShowName(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getShowName(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getShowName(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function setShowNumber(slotId: number, number: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getShowNumber(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sim;
Method or attribute name: function getShowNumber(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise<string>;
Old version:
Class name: sim;
Method or attribute name: function getShowNumber(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number, callback: AsyncCallback<Array<OperatorConfig>>): void;
Old version:
Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number, callback: AsyncCallback<Array<OperatorConfig>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise<Array<OperatorConfig>>;
Old version:
Class name: sim;
Method or attribute name: function getOperatorConfigs(slotId: number): Promise<Array<OperatorConfig>>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function unlockPin(slotId: number, pin: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function unlockPuk(slotId: number, newPin: string, puk: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function setLockState(slotId: number, options: LockInfo): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function unlockPin2(slotId: number, pin2: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function unlockPuk2(slotId: number, newPin2: string, puk2: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function alterPin2(slotId: number, newPin2: string, oldPin2: string): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback<Array<DiallingNumbersInfo>>): void
Old version:
Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType, callback: AsyncCallback<Array<DiallingNumbersInfo>>): void
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise<Array<DiallingNumbersInfo>>;
Old version:
Class name: sim;
Method or attribute name: function queryIccDiallingNumbers(slotId: number, type: ContactType): Promise<Array<DiallingNumbersInfo>>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function addIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function delIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function updateIccDiallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): void;
Old version:
Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
Old version:
Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function sendEnvelopeCmd(slotId: number, cmd: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise<void>;
Old version:
Class name: sim;
Method or attribute name: function sendTerminalResponseCmd(slotId: number, cmd: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback<LockStatusResponse>): void;
Old version:
Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback<LockStatusResponse>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise<LockStatusResponse>;
Old version:
Class name: sim;
Method or attribute name: function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise<LockStatusResponse>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999,8301002
@ohos.telephony.sim.d.ts
Error code added Class name: sms;
Method or attribute name: function splitMessage(content: string, callback: AsyncCallback<Array<string>>): void;
Old version:
Class name: sms;
Method or attribute name: function splitMessage(content: string, callback: AsyncCallback<Array<string>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise<Array<string>>;
Old version:
Class name: sms;
Method or attribute name: function splitMessage(content: string): Promise<Array<string>>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void;
Old version:
Class name: sms;
Method or attribute name: function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;
Old version:
Class name: sms;
Method or attribute name: function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
Old version:
Class name: sms;
Method or attribute name: function sendMessage(options: SendMessageOptions): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function setDefaultSmsSlotId(slotId: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300004,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function setSmscAddr(slotId: number, smscAddr: string): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number, callback: AsyncCallback<string>): void;
Old version:
Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number, callback: AsyncCallback<string>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise<string>;
Old version:
Class name: sms;
Method or attribute name: function getSmscAddr(slotId: number): Promise<string>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function addSimMessage(options: SimMessageOptions): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function delSimMessage(slotId: number, msgIndex: number): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function updateSimMessage(options: UpdateSimMessageOptions): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number, callback: AsyncCallback<Array<SimShortMessage>>): void;
Old version:
Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number, callback: AsyncCallback<Array<SimShortMessage>>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise<Array<SimShortMessage>>;
Old version:
Class name: sms;
Method or attribute name: function getAllSimMessages(slotId: number): Promise<Array<SimShortMessage>>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void;
Old version:
Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise<void>;
Old version:
Class name: sms;
Method or attribute name: function setCBConfig(options: CBConfigOptions): Promise<void>;
New version: 201,401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback<SmsSegmentsInfo>): void;
Old version:
Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean, callback: AsyncCallback<SmsSegmentsInfo>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise<SmsSegmentsInfo>;
Old version:
Class name: sms;
Method or attribute name: function getSmsSegmentsInfo(slotId: number, message: string, force7bit: boolean): Promise<SmsSegmentsInfo>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;
Old version:
Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise<boolean>;
Old version:
Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise<boolean>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getImsShortMessageFormat(callback: AsyncCallback<string>): void;
Old version:
Class name: sms;
Method or attribute name: function getImsShortMessageFormat(callback: AsyncCallback<string>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise<string>;
Old version:
Class name: sms;
Method or attribute name: function getImsShortMessageFormat(): Promise<string>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>, callback: AsyncCallback<MmsInformation>): void;
Old version:
Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>, callback: AsyncCallback<MmsInformation>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>): Promise<MmsInformation>;
Old version:
Class name: sms;
Method or attribute name: function decodeMms(mmsFilePathName: string |Array<number>): Promise<MmsInformation>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation, callback: AsyncCallback<Array<number>>): void;
Old version:
Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation, callback: AsyncCallback<Array<number>>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Error code added Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise<Array<number>>;
Old version:
Class name: sms;
Method or attribute name: function encodeMms(mms: MmsInformation): Promise<Array<number>>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.sms.d.ts
Access level changed Class name: observer;
Method or attribute name: type CellInformation = radio.CellInformation;
Old version:
Class name: observer;
Method or attribute name: type CellInformation = radio.CellInformation;
New version: systemapi
@ohos.telephony.observer.d.ts
Permission changed Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function holdCall(callId: number, callback: AsyncCallback<void>): void;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function holdCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function holdCall(callId: number): Promise<void>;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function unHoldCall(callId: number, callback: AsyncCallback<void>): void;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function unHoldCall(callId: number): Promise<void>;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function switchCall(callId: number, callback: AsyncCallback<void>): void;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function switchCall(callId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function switchCall(callId: number): Promise<void>;
New version: ohos.permission.ANSWER_CALL
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback<CallWaitingStatus>): void;
Old version:
Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number, callback: AsyncCallback<CallWaitingStatus>): void;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise<CallWaitingStatus>;
Old version:
Class name: call;
Method or attribute name: function getCallWaitingStatus(slotId: number): Promise<CallWaitingStatus>;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean, callback: AsyncCallback<void>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallWaiting(slotId: number, activate: boolean): Promise<void>;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function on(type: ‘callDetailsChange’, callback: Callback<CallAttributeOptions>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callDetailsChange’, callback: Callback<CallAttributeOptions>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function on(type: ‘callEventChange’, callback: Callback<CallEventOptions>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callEventChange’, callback: Callback<CallEventOptions>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function on(type: ‘callDisconnectedCause’, callback: Callback<DisconnectedDetails>): void;
Old version:
Class name: call;
Method or attribute name: function on(type: ‘callDisconnectedCause’, callback: Callback<DisconnectedDetails>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function off(type: ‘callDetailsChange’, callback?: Callback<CallAttributeOptions>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callDetailsChange’, callback?: Callback<CallAttributeOptions>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function off(type: ‘callEventChange’, callback?: Callback<CallEventOptions>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callEventChange’, callback?: Callback<CallEventOptions>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function off(type: ‘callDisconnectedCause’, callback?: Callback<DisconnectedDetails>): void;
Old version:
Class name: call;
Method or attribute name: function off(type: ‘callDisconnectedCause’, callback?: Callback<DisconnectedDetails>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback<RestrictionStatus>): void;
Old version:
Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallback<RestrictionStatus>): void;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionStatus>;
Old version:
Class name: call;
Method or attribute name: function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionStatus>;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo, callback: AsyncCallback<void>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallRestriction(slotId: number, info: CallRestrictionInfo): Promise<void>;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback<CallTransferResult>): void;
Old version:
Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType, callback: AsyncCallback<CallTransferResult>): void;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise<CallTransferResult>;
Old version:
Class name: call;
Method or attribute name: function getCallTransferInfo(slotId: number, type: CallTransferType): Promise<CallTransferResult>;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo, callback: AsyncCallback<void>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function setCallTransfer(slotId: number, info: CallTransferInfo): Promise<void>;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function enableImsSwitch(slotId: number): Promise<void>;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number, callback: AsyncCallback<void>): void;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function disableImsSwitch(slotId: number): Promise<void>;
New version: ohos.permission.SET_TELEPHONY_STATE
@ohos.telephony.call.d.ts
Permission changed Class name: data;
Method or attribute name: function getDefaultCellularDataSlotId(callback: AsyncCallback<number>): void;
Old version: ohos.permission.GET_NETWORK_INFO
Class name: data;
Method or attribute name: function getDefaultCellularDataSlotId(callback: AsyncCallback<number>): void;
New version:
@ohos.telephony.data.d.ts
Permission changed Class name: data;
Method or attribute name: function getDefaultCellularDataSlotId(): Promise<number>;
Old version: ohos.permission.GET_NETWORK_INFO
Class name: data;
Method or attribute name: function getDefaultCellularDataSlotId(): Promise<number>;
New version:
@ohos.telephony.data.d.ts
Permission changed Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, callback: Callback<Array<CellInformation>>): void;
Old version: ohos.permission.LOCATION
Class name: observer;
Method or attribute name: function on(type: ‘cellInfoChange’, callback: Callback<Array<CellInformation>>): void;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.observer.d.ts
Permission changed Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;
Old version:
Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(callback: AsyncCallback<void>): void;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.radio.d.ts
Permission changed Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
Old version:
Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.radio.d.ts
Permission changed Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;
Old version: ohos.permission.LOCATION
Class name: radio;
Method or attribute name: function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.radio.d.ts
Permission changed Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;
Old version: ohos.permission.LOCATION
Class name: radio;
Method or attribute name: function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.radio.d.ts
Permission changed Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;
Old version: ohos.permission.LOCATION
Class name: radio;
Method or attribute name: function getCellInformation(slotId?: number): Promise<Array<CellInformation>>;
New version: ohos.permission.LOCATION,ohos.permission.APPROXIMATELY_LOCATION
@ohos.telephony.radio.d.ts
Permission changed Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): void;
Old version:
Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): void;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.sim.d.ts
Permission changed Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
Old version:
Class name: sim;
Method or attribute name: function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
New version: ohos.permission.GET_TELEPHONY_STATE
@ohos.telephony.sim.d.ts
Function changed Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice): Promise<void>;
Class name: call;
Method or attribute name: function setAudioDevice(device: AudioDevice, options?: AudioDeviceOptions): Promise<void>;
@ohos.telephony.call.d.ts
Function changed Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(): Promise<void>;
Class name: radio;
Method or attribute name: function sendUpdateCellLocationRequest(slotId?: number): Promise<void>;
@ohos.telephony.radio.d.ts
Function changed Class name: sms;
Method or attribute name: function isImsSmsSupported(callback: AsyncCallback<boolean>): void;
Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number, callback: AsyncCallback<boolean>): void;
@ohos.telephony.sms.d.ts
Function changed Class name: sms;
Method or attribute name: function isImsSmsSupported(): Promise<boolean>;
Class name: sms;
Method or attribute name: function isImsSmsSupported(slotId: number): Promise<boolean>;
@ohos.telephony.sms.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

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

0  赞