• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Telephony Subsystem
2
3The table below lists the APIs changes of the telephony subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.telephony.data  | data           | getDefaultCellularDataSlotIdSync(): number;                                                                                                                                                 | Added|
10| ohos.telephony.radio | ImsServiceType | TYPE_SMS                                                                                                                                                                                             | Added|
11| ohos.telephony.radio | ImsServiceType | TYPE_UT                                                                                                                                                                                              | Added|
12| ohos.telephony.radio | ImsServiceType | TYPE_VIDEO                                                                                                                                                                                           | Added|
13| ohos.telephony.radio | ImsServiceType | TYPE_VOICE                                                                                                                                                                                           | Added|
14| ohos.telephony.radio | ImsRegInfo     | imsRegTech: ImsRegTech;                                                                                                                                                                              | Added|
15| ohos.telephony.radio | ImsRegInfo     | imsRegState: ImsRegState;                                                                                                                                                                            | Added|
16| ohos.telephony.radio | ImsRegTech     | REGISTRATION_TECH_NR                                                                                                                                                                                 | Added|
17| ohos.telephony.radio | ImsRegTech     | REGISTRATION_TECH_IWLAN                                                                                                                                                                              | Added|
18| ohos.telephony.radio | ImsRegTech     | REGISTRATION_TECH_LTE                                                                                                                                                                                | Added|
19| ohos.telephony.radio | ImsRegTech     | REGISTRATION_TECH_NONE                                                                                                                                                                               | Added|
20| ohos.telephony.radio | ImsRegState    | IMS_REGISTERED                                                                                                                                                                                       | Added|
21| ohos.telephony.radio | ImsRegState    | IMS_UNREGISTERED                                                                                                                                                                                     | Added|
22| ohos.telephony.radio | radio          | off(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback?: Callback\<ImsRegInfo>): void;                                                                           | Added|
23| ohos.telephony.radio | radio          | on(type: 'imsRegStateChange', slotId: number, imsType: ImsServiceType, callback: Callback\<ImsRegInfo>): void;                                                                              | Added|
24| ohos.telephony.radio | radio          | getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback\<ImsRegInfo>): void;<br>getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise\<ImsRegInfo>; | Added|
25| ohos.telephony.sim   | sim            | getOpName(slotId: number, callback: AsyncCallback\<string>): void;<br>getOpName(slotId: number): Promise\<string>;                                                                 | Added|
26| ohos.telephony.sim   | sim            | getOpKey(slotId: number, callback: AsyncCallback\<string>): void;<br>getOpKey(slotId: number): Promise\<string>;                                                                   | Added|
27