harmony 鸿蒙js-apidiff-telephony

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

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

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  赞