1e41f4b71Sopenharmony_ci# Telephony Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci## cl.telephony.1 Radio Module API Change
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci### Changed the `isNrSupported` API in the radio module of the telephony subsystem:
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ciNR is a proper noun and must be capitalized.
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ciYou need to adapt your application based on the following information.
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci**Change Impact**
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ciThe JS API needs to be adapted for applications developed based on earlier versions. Otherwise, relevant functions will be affected.
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ci**Key API/Component Changes**
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci- Involved APIs:
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci  isNrSupported(): boolean;
27e41f4b71Sopenharmony_ci  isNrSupported(slotId: number): boolean;
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci- Before change:
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci```js
32e41f4b71Sopenharmony_cifunction isNrSupported(): boolean;
33e41f4b71Sopenharmony_cifunction isNrSupported(slotId: number): boolean;
34e41f4b71Sopenharmony_ci```
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_ci- After change:
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci```js
39e41f4b71Sopenharmony_cifunction isNRSupported(): boolean;
40e41f4b71Sopenharmony_cifunction isNRSupported(slotId: number): boolean;
41e41f4b71Sopenharmony_ci```
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ci
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci**Adaptation Guide**
46e41f4b71Sopenharmony_ci
47e41f4b71Sopenharmony_ciUse the new API. The sample code is as follows:
48e41f4b71Sopenharmony_ci
49e41f4b71Sopenharmony_ci```js
50e41f4b71Sopenharmony_cilet result = radio.isNrSupported();
51e41f4b71Sopenharmony_ciconsole.log("Result: "+ result);
52e41f4b71Sopenharmony_ci```
53e41f4b71Sopenharmony_ci
54e41f4b71Sopenharmony_ci
55e41f4b71Sopenharmony_ci```js
56e41f4b71Sopenharmony_cilet slotId = 0;
57e41f4b71Sopenharmony_cilet result = radio.isNRSupported(slotId);
58e41f4b71Sopenharmony_ciconsole.log("Result: "+ result);
59e41f4b71Sopenharmony_ci```
60