| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| New API | NA | Class name: global; API declaration: declare namespace call Differences: declare namespace call | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void; Differences: function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>; Differences: function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void; Differences: function dial(phoneNumber: string, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function makeCall(phoneNumber: string, callback: AsyncCallback<void>): void; Differences: function makeCall(phoneNumber: string, callback: AsyncCallback<void>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function makeCall(phoneNumber: string): Promise<void>; Differences: function makeCall(phoneNumber: string): Promise<void>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function hasCall(callback: AsyncCallback<boolean>): void; Differences: function hasCall(callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function hasCall(): Promise<boolean>; Differences: function hasCall(): Promise<boolean>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function hasCallSync(): boolean; Differences: function hasCallSync(): boolean; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function getCallState(callback: AsyncCallback<CallState>): void; Differences: function getCallState(callback: AsyncCallback<CallState>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function getCallState(): Promise<CallState>; Differences: function getCallState(): Promise<CallState>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function getCallStateSync(): CallState; Differences: function getCallStateSync(): CallState; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function hasVoiceCapability(): boolean; Differences: function hasVoiceCapability(): boolean; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void; Differences: function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>; Differences: function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void; Differences: function isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void; Differences: function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>; Differences: function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void; Differences: function formatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void; Differences: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>; Differences: function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: export enum CallState Differences: export enum CallState | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: CallState; API declaration: CALL_STATE_UNKNOWN = -1 Differences: CALL_STATE_UNKNOWN = -1 | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: CallState; API declaration: CALL_STATE_IDLE = 0 Differences: CALL_STATE_IDLE = 0 | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: CallState; API declaration: CALL_STATE_RINGING = 1 Differences: CALL_STATE_RINGING = 1 | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: CallState; API declaration: CALL_STATE_OFFHOOK = 2 Differences: CALL_STATE_OFFHOOK = 2 | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: CallState; API declaration: CALL_STATE_ANSWERED = 3 Differences: CALL_STATE_ANSWERED = 3 | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: export interface DialOptions Differences: export interface DialOptions | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: DialOptions; API declaration: extras?: boolean; Differences: extras?: boolean; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: export interface EmergencyNumberOptions Differences: export interface EmergencyNumberOptions | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: EmergencyNumberOptions; API declaration: slotId?: number; Differences: slotId?: number; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: call; API declaration: export interface NumberFormatOptions Differences: export interface NumberFormatOptions | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: NumberFormatOptions; API declaration: countryCode?: string; Differences: countryCode?: string; | api/@ohos.telephony.call.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace data Differences: declare namespace data | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getDefaultCellularDataSlotId(callback: AsyncCallback<number>): void; Differences: function getDefaultCellularDataSlotId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getDefaultCellularDataSlotId(): Promise<number>; Differences: function getDefaultCellularDataSlotId(): Promise<number>; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getDefaultCellularDataSlotIdSync(): number; Differences: function getDefaultCellularDataSlotIdSync(): number; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getCellularDataFlowType(callback: AsyncCallback<DataFlowType>): void; Differences: function getCellularDataFlowType(callback: AsyncCallback<DataFlowType>): void; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getCellularDataFlowType(): Promise<DataFlowType>; Differences: function getCellularDataFlowType(): Promise<DataFlowType>; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getCellularDataState(callback: AsyncCallback<DataConnectState>): void; Differences: function getCellularDataState(callback: AsyncCallback<DataConnectState>): void; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getCellularDataState(): Promise<DataConnectState>; Differences: function getCellularDataState(): Promise<DataConnectState>; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function isCellularDataEnabled(callback: AsyncCallback<boolean>): void; Differences: function isCellularDataEnabled(callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function isCellularDataEnabled(): Promise<boolean>; Differences: function isCellularDataEnabled(): Promise<boolean>; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void; Differences: function isCellularDataRoamingEnabled(slotId: number, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>; Differences: function isCellularDataRoamingEnabled(slotId: number): Promise<boolean>; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: function getDefaultCellularDataSimId(): number; Differences: function getDefaultCellularDataSimId(): number; | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: export enum DataFlowType Differences: export enum DataFlowType | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataFlowType; API declaration: DATA_FLOW_TYPE_NONE = 0 Differences: DATA_FLOW_TYPE_NONE = 0 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataFlowType; API declaration: DATA_FLOW_TYPE_DOWN = 1 Differences: DATA_FLOW_TYPE_DOWN = 1 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataFlowType; API declaration: DATA_FLOW_TYPE_UP = 2 Differences: DATA_FLOW_TYPE_UP = 2 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataFlowType; API declaration: DATA_FLOW_TYPE_UP_DOWN = 3 Differences: DATA_FLOW_TYPE_UP_DOWN = 3 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataFlowType; API declaration: DATA_FLOW_TYPE_DORMANT = 4 Differences: DATA_FLOW_TYPE_DORMANT = 4 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: data; API declaration: export enum DataConnectState Differences: export enum DataConnectState | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataConnectState; API declaration: DATA_STATE_UNKNOWN = -1 Differences: DATA_STATE_UNKNOWN = -1 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataConnectState; API declaration: DATA_STATE_DISCONNECTED = 0 Differences: DATA_STATE_DISCONNECTED = 0 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataConnectState; API declaration: DATA_STATE_CONNECTING = 1 Differences: DATA_STATE_CONNECTING = 1 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataConnectState; API declaration: DATA_STATE_CONNECTED = 2 Differences: DATA_STATE_CONNECTED = 2 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: DataConnectState; API declaration: DATA_STATE_SUSPENDED = 3 Differences: DATA_STATE_SUSPENDED = 3 | api/@ohos.telephony.data.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace observer Differences: declare namespace observer | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type NetworkState = radio.NetworkState; Differences: type NetworkState = radio.NetworkState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type SignalInformation = radio.SignalInformation; Differences: type SignalInformation = radio.SignalInformation; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type DataConnectState = data.DataConnectState; Differences: type DataConnectState = data.DataConnectState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type RatType = radio.RadioTechnology; Differences: type RatType = radio.RadioTechnology; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type DataFlowType = data.DataFlowType; Differences: type DataFlowType = data.DataFlowType; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type CallState = call.CallState; Differences: type CallState = call.CallState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type CardType = sim.CardType; Differences: type CardType = sim.CardType; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: type SimState = sim.SimState; Differences: type SimState = sim.SimState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; Differences: function on(type: 'networkStateChange', callback: Callback<NetworkState>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'networkStateChange', options: ObserverOptions, callback: Callback<NetworkState>): void; Differences: function on(type: 'networkStateChange', options: ObserverOptions, callback: Callback<NetworkState>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'networkStateChange', callback?: Callback<NetworkState>): void; Differences: function off(type: 'networkStateChange', callback?: Callback<NetworkState>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'signalInfoChange', callback: Callback<Array<SignalInformation>>): void; Differences: function on(type: 'signalInfoChange', callback: Callback<Array<SignalInformation>>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'signalInfoChange', options: ObserverOptions, callback: Callback<Array<SignalInformation>>): void; Differences: function on(type: 'signalInfoChange', options: ObserverOptions, callback: Callback<Array<SignalInformation>>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'signalInfoChange', callback?: Callback<Array<SignalInformation>>): void; Differences: function off(type: 'signalInfoChange', callback?: Callback<Array<SignalInformation>>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'cellularDataConnectionStateChange', callback: Callback<DataConnectionStateInfo>): void; Differences: function on(type: 'cellularDataConnectionStateChange', callback: Callback<DataConnectionStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'cellularDataConnectionStateChange', options: ObserverOptions, callback: Callback<DataConnectionStateInfo>): void; Differences: function on(type: 'cellularDataConnectionStateChange', options: ObserverOptions, callback: Callback<DataConnectionStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'cellularDataConnectionStateChange', callback?: Callback<DataConnectionStateInfo>): void; Differences: function off(type: 'cellularDataConnectionStateChange', callback?: Callback<DataConnectionStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'cellularDataFlowChange', callback: Callback<DataFlowType>): void; Differences: function on(type: 'cellularDataFlowChange', callback: Callback<DataFlowType>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'cellularDataFlowChange', options: ObserverOptions, callback: Callback<DataFlowType>): void; Differences: function on(type: 'cellularDataFlowChange', options: ObserverOptions, callback: Callback<DataFlowType>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'cellularDataFlowChange', callback?: Callback<DataFlowType>): void; Differences: function off(type: 'cellularDataFlowChange', callback?: Callback<DataFlowType>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'callStateChange', callback: Callback<CallStateInfo>): void; Differences: function on(type: 'callStateChange', callback: Callback<CallStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'callStateChange', options: ObserverOptions, callback: Callback<CallStateInfo>): void; Differences: function on(type: 'callStateChange', options: ObserverOptions, callback: Callback<CallStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'callStateChange', callback?: Callback<CallStateInfo>): void; Differences: function off(type: 'callStateChange', callback?: Callback<CallStateInfo>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'simStateChange', callback: Callback<SimStateData>): void; Differences: function on(type: 'simStateChange', callback: Callback<SimStateData>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'simStateChange', options: ObserverOptions, callback: Callback<SimStateData>): void; Differences: function on(type: 'simStateChange', options: ObserverOptions, callback: Callback<SimStateData>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'simStateChange', callback?: Callback<SimStateData>): void; Differences: function off(type: 'simStateChange', callback?: Callback<SimStateData>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function on(type: 'iccAccountInfoChange', callback: Callback<void>): void; Differences: function on(type: 'iccAccountInfoChange', callback: Callback<void>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: function off(type: 'iccAccountInfoChange', callback?: Callback<void>): void; Differences: function off(type: 'iccAccountInfoChange', callback?: Callback<void>): void; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: export interface SimStateData Differences: export interface SimStateData | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: SimStateData; API declaration: type: CardType; Differences: type: CardType; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: SimStateData; API declaration: state: SimState; Differences: state: SimState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: SimStateData; API declaration: reason: LockReason; Differences: reason: LockReason; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: export interface CallStateInfo Differences: export interface CallStateInfo | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: CallStateInfo; API declaration: state: CallState; Differences: state: CallState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: CallStateInfo; API declaration: number: string; Differences: number: string; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: export interface DataConnectionStateInfo Differences: export interface DataConnectionStateInfo | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: DataConnectionStateInfo; API declaration: state: DataConnectState; Differences: state: DataConnectState; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: DataConnectionStateInfo; API declaration: network: RatType; Differences: network: RatType; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: export interface ObserverOptions Differences: export interface ObserverOptions | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: ObserverOptions; API declaration: slotId: number; Differences: slotId: number; | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: observer; API declaration: export enum LockReason Differences: export enum LockReason | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_NONE Differences: SIM_NONE | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PIN Differences: SIM_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PUK Differences: SIM_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PN_PIN Differences: SIM_PN_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PN_PUK Differences: SIM_PN_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PU_PIN Differences: SIM_PU_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PU_PUK Differences: SIM_PU_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PP_PIN Differences: SIM_PP_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PP_PUK Differences: SIM_PP_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PC_PIN Differences: SIM_PC_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_PC_PUK Differences: SIM_PC_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_SIM_PIN Differences: SIM_SIM_PIN | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: LockReason; API declaration: SIM_SIM_PUK Differences: SIM_SIM_PUK | api/@ohos.telephony.observer.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace radio Differences: declare namespace radio | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getRadioTech(slotId: number, callback: AsyncCallback<NetworkRadioTech>): void; Differences: function getRadioTech(slotId: number, callback: AsyncCallback<NetworkRadioTech>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getRadioTech(slotId: number): Promise<NetworkRadioTech>; Differences: function getRadioTech(slotId: number): Promise<NetworkRadioTech>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void; Differences: function getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getNetworkState(slotId?: number): Promise<NetworkState>; Differences: function getNetworkState(slotId?: number): Promise<NetworkState>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getNetworkState(callback: AsyncCallback<NetworkState>): void; Differences: function getNetworkState(callback: AsyncCallback<NetworkState>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void; Differences: function getNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>; Differences: function getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void; Differences: function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getISOCountryCodeForNetwork(slotId: number): Promise<string>; Differences: function getISOCountryCodeForNetwork(slotId: number): Promise<string>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getISOCountryCodeForNetworkSync(slotId: number): string; Differences: function getISOCountryCodeForNetworkSync(slotId: number): string; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getPrimarySlotId(callback: AsyncCallback<number>): void; Differences: function getPrimarySlotId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getPrimarySlotId(): Promise<number>; Differences: function getPrimarySlotId(): Promise<number>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void; Differences: function getSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getSignalInformation(slotId: number): Promise<Array<SignalInformation>>; Differences: function getSignalInformation(slotId: number): Promise<Array<SignalInformation>>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getSignalInformationSync(slotId: number): Array<SignalInformation>; Differences: function getSignalInformationSync(slotId: number): Array<SignalInformation>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isNrSupported(): boolean; Differences: function isNrSupported(): boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isNrSupported(slotId: number): boolean; Differences: function isNrSupported(slotId: number): boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isNRSupported(): boolean; Differences: function isNRSupported(): boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isNRSupported(slotId: number): boolean; Differences: function isNRSupported(slotId: number): boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void; Differences: function isRadioOn(slotId: number, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isRadioOn(slotId?: number): Promise<boolean>; Differences: function isRadioOn(slotId?: number): Promise<boolean>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function isRadioOn(callback: AsyncCallback<boolean>): void; Differences: function isRadioOn(callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getOperatorName(slotId: number, callback: AsyncCallback<string>): void; Differences: function getOperatorName(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getOperatorName(slotId: number): Promise<string>; Differences: function getOperatorName(slotId: number): Promise<string>; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: function getOperatorNameSync(slotId: number): string; Differences: function getOperatorNameSync(slotId: number): string; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export interface NetworkRadioTech Differences: export interface NetworkRadioTech | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkRadioTech; API declaration: psRadioTech: RadioTechnology; Differences: psRadioTech: RadioTechnology; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkRadioTech; API declaration: csRadioTech: RadioTechnology; Differences: csRadioTech: RadioTechnology; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export enum RadioTechnology Differences: export enum RadioTechnology | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_UNKNOWN = 0 Differences: RADIO_TECHNOLOGY_UNKNOWN = 0 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_GSM = 1 Differences: RADIO_TECHNOLOGY_GSM = 1 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_1XRTT = 2 Differences: RADIO_TECHNOLOGY_1XRTT = 2 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_WCDMA = 3 Differences: RADIO_TECHNOLOGY_WCDMA = 3 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_HSPA = 4 Differences: RADIO_TECHNOLOGY_HSPA = 4 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_HSPAP = 5 Differences: RADIO_TECHNOLOGY_HSPAP = 5 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_TD_SCDMA = 6 Differences: RADIO_TECHNOLOGY_TD_SCDMA = 6 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_EVDO = 7 Differences: RADIO_TECHNOLOGY_EVDO = 7 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_EHRPD = 8 Differences: RADIO_TECHNOLOGY_EHRPD = 8 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_LTE = 9 Differences: RADIO_TECHNOLOGY_LTE = 9 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_LTE_CA = 10 Differences: RADIO_TECHNOLOGY_LTE_CA = 10 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_IWLAN = 11 Differences: RADIO_TECHNOLOGY_IWLAN = 11 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RadioTechnology; API declaration: RADIO_TECHNOLOGY_NR = 12 Differences: RADIO_TECHNOLOGY_NR = 12 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export interface SignalInformation Differences: export interface SignalInformation | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: SignalInformation; API declaration: signalType: NetworkType; Differences: signalType: NetworkType; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: SignalInformation; API declaration: signalLevel: number; Differences: signalLevel: number; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: SignalInformation; API declaration: dBm: number; Differences: dBm: number; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export enum NetworkType Differences: export enum NetworkType | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_UNKNOWN Differences: NETWORK_TYPE_UNKNOWN | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_GSM Differences: NETWORK_TYPE_GSM | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_CDMA Differences: NETWORK_TYPE_CDMA | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_WCDMA Differences: NETWORK_TYPE_WCDMA | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_TDSCDMA Differences: NETWORK_TYPE_TDSCDMA | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_LTE Differences: NETWORK_TYPE_LTE | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkType; API declaration: NETWORK_TYPE_NR Differences: NETWORK_TYPE_NR | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export interface NetworkState Differences: export interface NetworkState | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: longOperatorName: string; Differences: longOperatorName: string; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: shortOperatorName: string; Differences: shortOperatorName: string; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: plmnNumeric: string; Differences: plmnNumeric: string; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: isRoaming: boolean; Differences: isRoaming: boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: regState: RegState; Differences: regState: RegState; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: cfgTech: RadioTechnology; Differences: cfgTech: RadioTechnology; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: nsaState: NsaState; Differences: nsaState: NsaState; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: isCaActive: boolean; Differences: isCaActive: boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkState; API declaration: isEmergency: boolean; Differences: isEmergency: boolean; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export enum RegState Differences: export enum RegState | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RegState; API declaration: REG_STATE_NO_SERVICE = 0 Differences: REG_STATE_NO_SERVICE = 0 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RegState; API declaration: REG_STATE_IN_SERVICE = 1 Differences: REG_STATE_IN_SERVICE = 1 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RegState; API declaration: REG_STATE_EMERGENCY_CALL_ONLY = 2 Differences: REG_STATE_EMERGENCY_CALL_ONLY = 2 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: RegState; API declaration: REG_STATE_POWER_OFF = 3 Differences: REG_STATE_POWER_OFF = 3 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export enum NsaState Differences: export enum NsaState | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_NOT_SUPPORT = 1 Differences: NSA_STATE_NOT_SUPPORT = 1 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_NO_DETECT = 2 Differences: NSA_STATE_NO_DETECT = 2 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_CONNECTED_DETECT = 3 Differences: NSA_STATE_CONNECTED_DETECT = 3 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_IDLE_DETECT = 4 Differences: NSA_STATE_IDLE_DETECT = 4 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_DUAL_CONNECTED = 5 Differences: NSA_STATE_DUAL_CONNECTED = 5 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NsaState; API declaration: NSA_STATE_SA_ATTACHED = 6 Differences: NSA_STATE_SA_ATTACHED = 6 | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export interface CellInformation Differences: export interface CellInformation | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: CellInformation; API declaration: networkType: NetworkType; Differences: networkType: NetworkType; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: CellInformation; API declaration: signalInformation: SignalInformation; Differences: signalInformation: SignalInformation; | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: radio; API declaration: export enum NetworkSelectionMode Differences: export enum NetworkSelectionMode | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkSelectionMode; API declaration: NETWORK_SELECTION_UNKNOWN Differences: NETWORK_SELECTION_UNKNOWN | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkSelectionMode; API declaration: NETWORK_SELECTION_AUTOMATIC Differences: NETWORK_SELECTION_AUTOMATIC | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: NetworkSelectionMode; API declaration: NETWORK_SELECTION_MANUAL Differences: NETWORK_SELECTION_MANUAL | api/@ohos.telephony.radio.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace sim Differences: declare namespace sim | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function isSimActive(slotId: number, callback: AsyncCallback<boolean>): void; Differences: function isSimActive(slotId: number, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function isSimActive(slotId: number): Promise<boolean>; Differences: function isSimActive(slotId: number): Promise<boolean>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function isSimActiveSync(slotId: number): boolean; Differences: function isSimActiveSync(slotId: number): boolean; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getDefaultVoiceSlotId(callback: AsyncCallback<number>): void; Differences: function getDefaultVoiceSlotId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getDefaultVoiceSlotId(): Promise<number>; Differences: function getDefaultVoiceSlotId(): Promise<number>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void; Differences: function hasOperatorPrivileges(slotId: number, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function hasOperatorPrivileges(slotId: number): Promise<boolean>; Differences: function hasOperatorPrivileges(slotId: number): Promise<boolean>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void; Differences: function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getISOCountryCodeForSim(slotId: number): Promise<string>; Differences: function getISOCountryCodeForSim(slotId: number): Promise<string>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getISOCountryCodeForSimSync(slotId: number): string; Differences: function getISOCountryCodeForSimSync(slotId: number): string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void; Differences: function getSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimOperatorNumeric(slotId: number): Promise<string>; Differences: function getSimOperatorNumeric(slotId: number): Promise<string>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimOperatorNumericSync(slotId: number): string; Differences: function getSimOperatorNumericSync(slotId: number): string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimSpn(slotId: number, callback: AsyncCallback<string>): void; Differences: function getSimSpn(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimSpn(slotId: number): Promise<string>; Differences: function getSimSpn(slotId: number): Promise<string>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimSpnSync(slotId: number): string; Differences: function getSimSpnSync(slotId: number): string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimState(slotId: number, callback: AsyncCallback<SimState>): void; Differences: function getSimState(slotId: number, callback: AsyncCallback<SimState>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimState(slotId: number): Promise<SimState>; Differences: function getSimState(slotId: number): Promise<SimState>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimStateSync(slotId: number): SimState; Differences: function getSimStateSync(slotId: number): SimState; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getCardType(slotId: number, callback: AsyncCallback<CardType>): void; Differences: function getCardType(slotId: number, callback: AsyncCallback<CardType>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getCardType(slotId: number): Promise<CardType>; Differences: function getCardType(slotId: number): Promise<CardType>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getCardTypeSync(slotId: number): CardType; Differences: function getCardTypeSync(slotId: number): CardType; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getMaxSimCount(): number; Differences: function getMaxSimCount(): number; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void; Differences: function hasSimCard(slotId: number, callback: AsyncCallback<boolean>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function hasSimCard(slotId: number): Promise<boolean>; Differences: function hasSimCard(slotId: number): Promise<boolean>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function hasSimCardSync(slotId: number): boolean; Differences: function hasSimCardSync(slotId: number): boolean; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void; Differences: function getSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getSimAccountInfo(slotId: number): Promise<IccAccountInfo>; Differences: function getSimAccountInfo(slotId: number): Promise<IccAccountInfo>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getActiveSimAccountInfoList(callback: AsyncCallback<Array<IccAccountInfo>>): void; Differences: function getActiveSimAccountInfoList(callback: AsyncCallback<Array<IccAccountInfo>>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getActiveSimAccountInfoList(): Promise<Array<IccAccountInfo>>; Differences: function getActiveSimAccountInfoList(): Promise<Array<IccAccountInfo>>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpKey(slotId: number, callback: AsyncCallback<string>): void; Differences: function getOpKey(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpKey(slotId: number): Promise<string>; Differences: function getOpKey(slotId: number): Promise<string>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpKeySync(slotId: number): string; Differences: function getOpKeySync(slotId: number): string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpName(slotId: number, callback: AsyncCallback<string>): void; Differences: function getOpName(slotId: number, callback: AsyncCallback<string>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpName(slotId: number): Promise<string>; Differences: function getOpName(slotId: number): Promise<string>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getOpNameSync(slotId: number): string; Differences: function getOpNameSync(slotId: number): string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getDefaultVoiceSimId(callback: AsyncCallback<number>): void; Differences: function getDefaultVoiceSimId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: function getDefaultVoiceSimId(): Promise<number>; Differences: function getDefaultVoiceSimId(): Promise<number>; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: export interface IccAccountInfo Differences: export interface IccAccountInfo | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: simId: number; Differences: simId: number; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: slotIndex: number; Differences: slotIndex: number; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: isEsim: boolean; Differences: isEsim: boolean; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: isActive: boolean; Differences: isActive: boolean; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: iccId: string; Differences: iccId: string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: showName: string; Differences: showName: string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: IccAccountInfo; API declaration: showNumber: string; Differences: showNumber: string; | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: export enum CardType Differences: export enum CardType | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: UNKNOWN_CARD = -1 Differences: UNKNOWN_CARD = -1 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: SINGLE_MODE_SIM_CARD = 10 Differences: SINGLE_MODE_SIM_CARD = 10 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: SINGLE_MODE_USIM_CARD = 20 Differences: SINGLE_MODE_USIM_CARD = 20 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: SINGLE_MODE_RUIM_CARD = 30 Differences: SINGLE_MODE_RUIM_CARD = 30 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: DUAL_MODE_CG_CARD = 40 Differences: DUAL_MODE_CG_CARD = 40 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: CT_NATIONAL_ROAMING_CARD = 41 Differences: CT_NATIONAL_ROAMING_CARD = 41 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: CU_DUAL_MODE_CARD = 42 Differences: CU_DUAL_MODE_CARD = 42 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: DUAL_MODE_TELECOM_LTE_CARD = 43 Differences: DUAL_MODE_TELECOM_LTE_CARD = 43 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: DUAL_MODE_UG_CARD = 50 Differences: DUAL_MODE_UG_CARD = 50 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: CardType; API declaration: SINGLE_MODE_ISIM_CARD = 60 Differences: SINGLE_MODE_ISIM_CARD = 60 | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: sim; API declaration: export enum SimState Differences: export enum SimState | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_UNKNOWN Differences: SIM_STATE_UNKNOWN | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_NOT_PRESENT Differences: SIM_STATE_NOT_PRESENT | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_LOCKED Differences: SIM_STATE_LOCKED | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_NOT_READY Differences: SIM_STATE_NOT_READY | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_READY Differences: SIM_STATE_READY | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: SimState; API declaration: SIM_STATE_LOADED Differences: SIM_STATE_LOADED | api/@ohos.telephony.sim.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace sms Differences: declare namespace sms | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void; Differences: function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>; Differences: function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function sendMessage(options: SendMessageOptions): void; Differences: function sendMessage(options: SendMessageOptions): void; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function sendShortMessage(options: SendMessageOptions, callback: AsyncCallback<void>): void; Differences: function sendShortMessage(options: SendMessageOptions, callback: AsyncCallback<void>): void; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function sendShortMessage(options: SendMessageOptions): Promise<void>; Differences: function sendShortMessage(options: SendMessageOptions): Promise<void>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function getDefaultSmsSlotId(callback: AsyncCallback<number>): void; Differences: function getDefaultSmsSlotId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function getDefaultSmsSlotId(): Promise<number>; Differences: function getDefaultSmsSlotId(): Promise<number>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function hasSmsCapability(): boolean; Differences: function hasSmsCapability(): boolean; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function getDefaultSmsSimId(callback: AsyncCallback<number>): void; Differences: function getDefaultSmsSimId(callback: AsyncCallback<number>): void; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: function getDefaultSmsSimId(): Promise<number>; Differences: function getDefaultSmsSimId(): Promise<number>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export interface ShortMessage Differences: export interface ShortMessage | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: visibleMessageBody: string; Differences: visibleMessageBody: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: visibleRawAddress: string; Differences: visibleRawAddress: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: messageClass: ShortMessageClass; Differences: messageClass: ShortMessageClass; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: protocolId: number; Differences: protocolId: number; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: scAddress: string; Differences: scAddress: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: scTimestamp: number; Differences: scTimestamp: number; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: isReplaceMessage: boolean; Differences: isReplaceMessage: boolean; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: hasReplyPath: boolean; Differences: hasReplyPath: boolean; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: pdu: Array<number>; Differences: pdu: Array<number>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: status: number; Differences: status: number; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessage; API declaration: isSmsStatusReportMessage: boolean; Differences: isSmsStatusReportMessage: boolean; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export enum ShortMessageClass Differences: export enum ShortMessageClass | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessageClass; API declaration: UNKNOWN Differences: UNKNOWN | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessageClass; API declaration: INSTANT_MESSAGE Differences: INSTANT_MESSAGE | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessageClass; API declaration: OPTIONAL_MESSAGE Differences: OPTIONAL_MESSAGE | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessageClass; API declaration: SIM_MESSAGE Differences: SIM_MESSAGE | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ShortMessageClass; API declaration: FORWARD_MESSAGE Differences: FORWARD_MESSAGE | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export interface SendMessageOptions Differences: export interface SendMessageOptions | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: slotId: number; Differences: slotId: number; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: destinationHost: string; Differences: destinationHost: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: serviceCenter?: string; Differences: serviceCenter?: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: content: string |Array<number>; Differences: content: string |Array<number>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: destinationPort?: number; Differences: destinationPort?: number; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: sendCallback?: AsyncCallback<ISendShortMessageCallback>; Differences: sendCallback?: AsyncCallback<ISendShortMessageCallback>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendMessageOptions; API declaration: deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; Differences: deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export interface ISendShortMessageCallback Differences: export interface ISendShortMessageCallback | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ISendShortMessageCallback; API declaration: result: SendSmsResult; Differences: result: SendSmsResult; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ISendShortMessageCallback; API declaration: url: string; Differences: url: string; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: ISendShortMessageCallback; API declaration: isLastPart: boolean; Differences: isLastPart: boolean; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export interface IDeliveryShortMessageCallback Differences: export interface IDeliveryShortMessageCallback | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: IDeliveryShortMessageCallback; API declaration: pdu: Array<number>; Differences: pdu: Array<number>; | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: sms; API declaration: export enum SendSmsResult Differences: export enum SendSmsResult | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendSmsResult; API declaration: SEND_SMS_SUCCESS = 0 Differences: SEND_SMS_SUCCESS = 0 | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendSmsResult; API declaration: SEND_SMS_FAILURE_UNKNOWN = 1 Differences: SEND_SMS_FAILURE_UNKNOWN = 1 | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendSmsResult; API declaration: SEND_SMS_FAILURE_RADIO_OFF = 2 Differences: SEND_SMS_FAILURE_RADIO_OFF = 2 | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: SendSmsResult; API declaration: SEND_SMS_FAILURE_SERVICE_UNAVAILABLE = 3 Differences: SEND_SMS_FAILURE_SERVICE_UNAVAILABLE = 3 | api/@ohos.telephony.sms.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace vcard Differences: declare namespace vcard | api/@ohos.telephony.vcard.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.call.d.ts Differences: TelephonyKit | api/@ohos.telephony.call.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.data.d.ts Differences: TelephonyKit | api/@ohos.telephony.data.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.observer.d.ts Differences: TelephonyKit | api/@ohos.telephony.observer.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.radio.d.ts Differences: TelephonyKit | api/@ohos.telephony.radio.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.sim.d.ts Differences: TelephonyKit | api/@ohos.telephony.sim.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.sms.d.ts Differences: TelephonyKit | api/@ohos.telephony.sms.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.telephony.vcard.d.ts Differences: TelephonyKit | api/@ohos.telephony.vcard.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: kits@kit.TelephonyKit.d.ts Differences: TelephonyKit | kits/@kit.TelephonyKit.d.ts |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-ArkGraphics2D
openharmony 鸿蒙 js-apidiff-MediaKit
openharmony 鸿蒙 js-apidiff-InputKit
openharmony 鸿蒙 js-apidiff-BasicServicesKit
openharmony 鸿蒙 js-apidiff-ConnectivityKit
openharmony 鸿蒙 js-apidiff-ArkWeb
openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit