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