diff --git a/api/@ohos.telephony.radio.d.ts b/api/@ohos.telephony.radio.d.ts index 910057985a909fc9e172e7d4bbab3299ed03d58c..7c064eac8ead681b529fe989190a7de453fee10e 100644 --- a/api/@ohos.telephony.radio.d.ts +++ b/api/@ohos.telephony.radio.d.ts @@ -69,7 +69,7 @@ declare namespace radio { * returns RAT of the packet service (PS) and circuit service (CS) domain. * * @permission ohos.permission.GET_NETWORK_INFO - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - Returns * the RAT of PS domain and CS domain of registered network. @@ -97,9 +97,10 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 11 + * @since arkts{ '1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ - function getRadioTech(slotId: number, callback: AsyncCallback): void; + function getRadioTech(slotId: int, callback: AsyncCallback): void; /** * Obtains radio access technology (RAT) of the registered network. The system @@ -139,7 +140,7 @@ declare namespace radio { * returns RAT of the packet service (PS) and circuit service (CS) domain. * * @permission ohos.permission.GET_NETWORK_INFO - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } Returns the RAT of PS domain and CS domain of registered network. * The values of RAT are as follows: @@ -166,9 +167,10 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 11 + * @since arkts{ '1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ - function getRadioTech(slotId: number): Promise; + function getRadioTech(slotId: int): Promise; /** * Obtains radio access technology (RAT) of the registered network. @@ -245,7 +247,7 @@ declare namespace radio { * Actively requests to update location information. * * @permission ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - The callback of sendUpdateCellLocationRequest. * @throws { BusinessError } 201 - Permission denied. @@ -258,15 +260,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function sendUpdateCellLocationRequest(slotId: number, callback: AsyncCallback): void; + function sendUpdateCellLocationRequest(slotId: int, callback: AsyncCallback): void; /** * Actively requests to update location information. * * @permission ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } The promise returned by the sendUpdateCellLocationRequest. * @throws { BusinessError } 201 - Permission denied. @@ -279,9 +282,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function sendUpdateCellLocationRequest(slotId?: number): Promise; + function sendUpdateCellLocationRequest(slotId?: int): Promise; /** * Actively requests to update location information. @@ -298,7 +302,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function sendUpdateCellLocationRequest(callback: AsyncCallback): void; @@ -306,7 +311,7 @@ declare namespace radio { * Get the current cell information. * * @permission ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback> } callback - Indicates the callback for getting cell information. * @throws { BusinessError } 201 - Permission denied. @@ -319,15 +324,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getCellInformation(slotId: number, callback: AsyncCallback>): void; + function getCellInformation(slotId: int, callback: AsyncCallback>): void; /** * Get the current cell information. * * @permission ohos.permission.LOCATION and ohos.permission.APPROXIMATELY_LOCATION - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise> } Returns the current cell information. * @throws { BusinessError } 201 - Permission denied. @@ -340,9 +346,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getCellInformation(slotId?: number): Promise>; + function getCellInformation(slotId?: int): Promise>; /** * Get the current cell information. @@ -359,14 +366,15 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function getCellInformation(callback: AsyncCallback>): void; /** * Obtains the network search mode of the SIM card in a specified slot. * - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting * the network search mode of the SIM card. Available values are as follows: @@ -382,14 +390,15 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkSelectionMode(slotId: number, callback: AsyncCallback): void; + function getNetworkSelectionMode(slotId: int, callback: AsyncCallback): void; /** * Obtains the network search mode of the SIM card in a specified slot. * - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the network search mode of the SIM card. * Available values are as follows: @@ -405,9 +414,10 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkSelectionMode(slotId: number): Promise; + function getNetworkSelectionMode(slotId: int): Promise; /** * Set the current network selection mode. @@ -425,7 +435,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback): void; @@ -445,7 +456,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise; @@ -453,7 +465,7 @@ declare namespace radio { * Get network search information. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting * the search results of the network. @@ -467,15 +479,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkSearchInformation(slotId: number, callback: AsyncCallback): void; + function getNetworkSearchInformation(slotId: int, callback: AsyncCallback): void; /** * Get network search information. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the search results of the network. * @throws { BusinessError } 201 - Permission denied. @@ -488,14 +501,15 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkSearchInformation(slotId: number): Promise; + function getNetworkSearchInformation(slotId: int): Promise; /** * Obtains the ISO-defined country code of the country where the registered network is deployed. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the country code * defined in ISO 3166-2; returns an empty string if the device is not registered with any network. @@ -506,14 +520,15 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback): void; + function getISOCountryCodeForNetwork(slotId: int, callback: AsyncCallback): void; /** * Obtains the ISO-defined country code of the country where the registered network is deployed. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } Returns the country code defined in ISO 3166-2. * Returns an empty string if the device is not registered with any network. @@ -524,21 +539,23 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function getISOCountryCodeForNetwork(slotId: number): Promise; + function getISOCountryCodeForNetwork(slotId: int): Promise; /** * Obtains the ISO-defined country code of the country where the registered network is deployed. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slots supported by the device. * @returns { string } Returns the country code defined in ISO 3166-2. * Returns an empty string if the device is not registered with any network. * @syscap SystemCapability.Telephony.CoreService - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getISOCountryCodeForNetworkSync(slotId: number): string; + function getISOCountryCodeForNetworkSync(slotId: int): string; /** * Get the option mode of NR. @@ -605,7 +622,7 @@ declare namespace radio { * Obtains the IMEI of a specified card slot of the device. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the IMEI. * Returns an empty string if the IMEI does not exist. @@ -619,15 +636,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getIMEI(slotId: number, callback: AsyncCallback): void; + function getIMEI(slotId: int, callback: AsyncCallback): void; /** * Obtains the IMEI of a specified card slot of the device. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the IMEI. Returns an empty string if the IMEI does not exist. * @throws { BusinessError } 201 - Permission denied. @@ -640,9 +658,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getIMEI(slotId?: number): Promise; + function getIMEI(slotId?: int): Promise; /** * Obtains the IMEI of a specified card slot of the device. @@ -660,7 +679,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function getIMEI(callback: AsyncCallback): void; @@ -668,7 +688,7 @@ declare namespace radio { * Obtains the MEID of a specified card slot of the device. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the MEID. * Returns an empty string if the MEID does not exist. @@ -682,15 +702,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getMEID(slotId: number, callback: AsyncCallback): void; + function getMEID(slotId: int, callback: AsyncCallback): void; /** * Obtains the MEID of a specified card slot of the device. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the MEID. Returns an empty string if the MEID does not exist. * @throws { BusinessError } 201 - Permission denied. @@ -703,9 +724,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getMEID(slotId?: number): Promise; + function getMEID(slotId?: int): Promise; /** * Obtains the MEID of a specified card slot of the device. @@ -723,7 +745,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function getMEID(callback: AsyncCallback): void; @@ -735,7 +758,7 @@ declare namespace radio { * (MEID) is returned. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the unique device ID. * Returns an empty string if the unique device ID does not exist. @@ -749,9 +772,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getUniqueDeviceId(slotId: number, callback: AsyncCallback): void; + function getUniqueDeviceId(slotId: int, callback: AsyncCallback): void; /** * Obtains the unique device ID of a specified card slot of the device. @@ -761,7 +785,7 @@ declare namespace radio { * (MEID) is returned. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the unique device ID. * Returns an empty string if the unique device ID does not exist. @@ -775,9 +799,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getUniqueDeviceId(slotId?: number): Promise; + function getUniqueDeviceId(slotId?: int): Promise; /** * Obtains the unique device ID of a specified card slot of the device. @@ -799,7 +824,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function getUniqueDeviceId(callback: AsyncCallback): void; @@ -841,7 +867,7 @@ declare namespace radio { * Set the index number of the main SIM card slot. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - The callback of setPrimarySlotId. * @throws { BusinessError } 201 - Permission denied. @@ -855,15 +881,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function setPrimarySlotId(slotId: number, callback: AsyncCallback): void; + function setPrimarySlotId(slotId: int, callback: AsyncCallback): void; /** * Set the index number of the main SIM card slot. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } The promise returned by the setPrimarySlotId. * @throws { BusinessError } 201 - Permission denied. @@ -877,9 +904,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function setPrimarySlotId(slotId: number): Promise; + function setPrimarySlotId(slotId: int): Promise; /** * Obtains the list of signal strength information of the registered network corresponding to a specified SIM card. @@ -922,14 +950,15 @@ declare namespace radio { /** * Obtains the list of signal strength information of the registered network corresponding to a specified SIM card. * - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum * card slots supported by the device. * @returns { Array } Returns the callback for getting the instance list of * the child classes derived from {@link SignalInformation}. * @syscap SystemCapability.Telephony.CoreService - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getSignalInformationSync(slotId: number): Array; + function getSignalInformationSync(slotId: int): Array; /** * Checks whether the device supports 5G New Radio (NR). @@ -981,7 +1010,7 @@ declare namespace radio { * Checks whether the radio service is enabled. * * @permission ohos.permission.GET_NETWORK_INFO - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - Returns {@code true} If the radio service is enabled. * Returns {@code false} otherwise. @@ -993,15 +1022,16 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function isRadioOn(slotId: number, callback: AsyncCallback): void; + function isRadioOn(slotId: int, callback: AsyncCallback): void; /** * Checks whether the radio service is enabled. * * @permission ohos.permission.GET_NETWORK_INFO - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } Returns {@code true} If the radio service is enabled; returns {@code false} otherwise. * @throws { BusinessError } 201 - Permission denied. @@ -1012,9 +1042,10 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function isRadioOn(slotId?: number): Promise; + function isRadioOn(slotId?: int): Promise; /** * Checks whether the radio service is enabled. @@ -1030,7 +1061,8 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function isRadioOn(callback: AsyncCallback): void; @@ -1099,7 +1131,7 @@ declare namespace radio { * Turn off the radio service. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - The callback of turnOffRadio. * @throws { BusinessError } 201 - Permission denied. @@ -1112,15 +1144,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function turnOffRadio(slotId: number, callback: AsyncCallback): void; + function turnOffRadio(slotId: int, callback: AsyncCallback): void; /** * Turn off the radio service. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } The promise returned by the turnOffRadio. * @throws { BusinessError } 201 - Permission denied. @@ -1133,9 +1166,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function turnOffRadio(slotId?: number): Promise; + function turnOffRadio(slotId?: int): Promise; /** * Turn off the radio service. @@ -1152,14 +1186,15 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function turnOffRadio(callback: AsyncCallback): void; /** * Get the operator name of the specified SIM card slot. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the operator name. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. @@ -1169,14 +1204,15 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function getOperatorName(slotId: number, callback: AsyncCallback): void; + function getOperatorName(slotId: int, callback: AsyncCallback): void; /** * Get the operator name of the specified SIM card slot. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } Returns the operator name. * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified. @@ -1186,26 +1222,28 @@ declare namespace radio { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts{ '1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ - function getOperatorName(slotId: number): Promise; + function getOperatorName(slotId: int): Promise; /** * Get the operator name of the specified SIM card slot. * - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { string } Returns the operator name. * @syscap SystemCapability.Telephony.CoreService - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getOperatorNameSync(slotId: number): string; + function getOperatorNameSync(slotId: int): string; /** * Set the preferred network for the specified SIM card slot. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { PreferredNetworkMode } networkMode - Indicates that you want to set the preferred network mode. * @param { AsyncCallback } callback - The callback of setPreferredNetwork. @@ -1219,15 +1257,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode, callback: AsyncCallback): void; + function setPreferredNetwork(slotId: int, networkMode: PreferredNetworkMode, callback: AsyncCallback): void; /** * Set the preferred network for the specified SIM card slot. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { PreferredNetworkMode } networkMode - Indicates that you want to set the preferred network mode. * @returns { Promise } The promise returned by the setPreferredNetwork. @@ -1241,15 +1280,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function setPreferredNetwork(slotId: number, networkMode: PreferredNetworkMode): Promise; + function setPreferredNetwork(slotId: int, networkMode: PreferredNetworkMode): Promise; /** * Get the preferred network for the specified SIM card slot. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting * the preferred network mode to obtain. @@ -1263,15 +1303,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getPreferredNetwork(slotId: number, callback: AsyncCallback): void; + function getPreferredNetwork(slotId: int, callback: AsyncCallback): void; /** * Get the preferred network for the specified SIM card slot. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @returns { Promise } Returns the callback for getting the preferred network mode to obtain. * @throws { BusinessError } 201 - Permission denied. @@ -1284,9 +1325,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - function getPreferredNetwork(slotId: number): Promise; + function getPreferredNetwork(slotId: int): Promise; /** * Get the IMS registration state info of specified IMS service type. @@ -1383,7 +1425,7 @@ declare namespace radio { * Get the version of Baseband. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number * supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the baseband version. * @throws { BusinessError } 201 - Permission denied. @@ -1396,15 +1438,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getBasebandVersion(slotId: number, callback: AsyncCallback): void; + function getBasebandVersion(slotId: int, callback: AsyncCallback): void; /** * Get the version of Baseband. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number * supported by the device. * @returns { Promise } Returns the baseband version. * @throws { BusinessError } 201 - Permission denied. @@ -1417,15 +1460,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getBasebandVersion(slotId: number): Promise; + function getBasebandVersion(slotId: int): Promise; /** * Set the NR option mode. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index * number supported by the device. * @param { NROptionMode } mode - Indicates the nr option mode to be set. * @param { AsyncCallback } callback - Indicates the callback for getting the option result. @@ -1439,15 +1483,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function setNROptionMode(slotId: number, mode: NROptionMode, callback: AsyncCallback): void; + function setNROptionMode(slotId: int, mode: NROptionMode, callback: AsyncCallback): void; /** * Set the NR option mode. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index * number supported by the device. * @param { NROptionMode } mode - Indicates the nr option mode to be set. * @returns { Promise } Returns option result. @@ -1461,14 +1506,15 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function setNROptionMode(slotId: number, mode: NROptionMode): Promise; + function setNROptionMode(slotId: int, mode: NROptionMode): Promise; /** * Get the option mode of NR. * - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @param { AsyncCallback } callback - Indicates the callback for getting the selection mode of NR. * @throws { BusinessError } 202 - Non-system applications use system APIs. @@ -1480,14 +1526,15 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNROptionMode(slotId: number, callback: AsyncCallback): void; + function getNROptionMode(slotId: int, callback: AsyncCallback): void; /** * Get the option mode of NR. * - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } Returns the selection mode of NR. * @throws { BusinessError } 202 - Non-system applications use system APIs. @@ -1499,15 +1546,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNROptionMode(slotId: number): Promise; + function getNROptionMode(slotId: int): Promise; /** * Set the type and state for the specified network capability. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}. * @param { NetworkCapabilityState } state - Indicates the service ability state of the {@link NetworkCapabilityState}. @@ -1522,16 +1570,17 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState, + function setNetworkCapability(slotId: int, type: NetworkCapabilityType, state: NetworkCapabilityState, callback: AsyncCallback): void; /** * Set the type and state for the specified network capability. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}. * @param { NetworkCapabilityState } state - Indicates the service ability state of the {@link NetworkCapabilityState}. @@ -1546,15 +1595,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function setNetworkCapability(slotId: number, type: NetworkCapabilityType, state: NetworkCapabilityState): Promise; + function setNetworkCapability(slotId: int, type: NetworkCapabilityType, state: NetworkCapabilityState): Promise; /** * Get the network capability state according to the specified capability type. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}. * @param { AsyncCallback } callback - Indicates the callback for getting @@ -1569,16 +1619,17 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkCapability(slotId: number, type: NetworkCapabilityType, + function getNetworkCapability(slotId: int, type: NetworkCapabilityType, callback: AsyncCallback): void; /** * Get the network capability state according to the specified capability type. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, + * @param { int } slotId - Indicates the card slot index number, * ranging from 0 to the maximum card slot index number supported by the device. * @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}. * @returns { Promise } Returns the callback for getting the network capability state. @@ -1592,15 +1643,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ - function getNetworkCapability(slotId: number, type: NetworkCapabilityType): Promise; + function getNetworkCapability(slotId: int, type: NetworkCapabilityType): Promise; /** * Reset all network settings of telephony. * * @permission ohos.permission.SET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot * index number supported by the device. * @returns { Promise } The promise returned by the factoryReset. * @throws { BusinessError } 201 - Permission denied. @@ -1613,15 +1665,16 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 11 + * @since arkts{ '1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ - function factoryReset(slotId: number): Promise; + function factoryReset(slotId: int): Promise; /** * Obtains the software version number of a specified card slot of the device. * * @permission ohos.permission.GET_TELEPHONY_STATE - * @param { number } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number + * @param { int } slotId - Indicates the card slot index number, ranging from 0 to the maximum card slot index number * supported by the device. * @returns { string } Returns the IMEISV. Returns an empty string if the IMEISV does not exist. * @throws { BusinessError } 201 - Permission denied. @@ -1634,9 +1687,10 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts{ '1.1':'12','1.2':'20'} + * @arkts 1.1&1.2 */ - function getIMEISV(slotId: number): string; + function getIMEISV(slotId: int): string; /** * Indicates the preferred network. @@ -1644,7 +1698,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export enum PreferredNetworkMode { /** @@ -1652,7 +1707,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_GSM = 1, @@ -1661,7 +1717,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_WCDMA = 2, @@ -1670,7 +1727,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE = 3, @@ -1679,7 +1737,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_WCDMA = 4, @@ -1688,7 +1747,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM = 5, @@ -1697,7 +1757,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_WCDMA_GSM = 6, @@ -1706,7 +1767,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_CDMA = 7, @@ -1715,7 +1777,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_EVDO = 8, @@ -1724,7 +1787,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_EVDO_CDMA = 9, @@ -1733,7 +1797,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_WCDMA_GSM_EVDO_CDMA = 10, @@ -1742,7 +1807,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_EVDO_CDMA = 11, @@ -1751,7 +1817,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_WCDMA_GSM_EVDO_CDMA = 12, @@ -1760,7 +1827,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_TDSCDMA = 13, @@ -1769,7 +1837,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_TDSCDMA_GSM = 14, @@ -1778,8 +1847,9 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 - */ + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 + */ PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA = 15, /** @@ -1787,7 +1857,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM = 16, @@ -1796,7 +1867,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_TDSCDMA = 17, @@ -1805,7 +1877,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_TDSCDMA_GSM = 18, @@ -1814,7 +1887,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19, @@ -1823,7 +1897,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM = 20, @@ -1832,7 +1907,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 21, @@ -1841,7 +1917,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 22, @@ -1850,7 +1927,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR = 31, @@ -1859,7 +1937,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE = 32, @@ -1868,7 +1947,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_WCDMA = 33, @@ -1877,7 +1957,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM = 34, @@ -1886,7 +1967,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_EVDO_CDMA = 35, @@ -1895,7 +1977,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_WCDMA_GSM_EVDO_CDMA = 36, @@ -1904,7 +1987,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA = 37, @@ -1913,7 +1997,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_GSM = 38, @@ -1922,7 +2007,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA = 39, @@ -1931,7 +2017,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM = 40, @@ -1940,7 +2027,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_NR_LTE_TDSCDMA_WCDMA_GSM_EVDO_CDMA = 41, @@ -1949,7 +2037,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ PREFERRED_NETWORK_MODE_MAX_VALUE = 99, } @@ -1978,7 +2067,8 @@ declare namespace radio { * * @type { RadioTechnology } * @syscap SystemCapability.Telephony.CoreService - * @since 11 + * @since arkts{ '1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ csRadioTech: RadioTechnology; } @@ -2481,7 +2571,8 @@ declare namespace radio { * @type { boolean } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ isCamped: boolean; @@ -2490,12 +2581,13 @@ declare namespace radio { * * Returns a timestamp since boot, in nanoseconds. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - timeStamp: number; + timeStamp: int; /** * An abstract method of the parent class whose implementation depends on the child classes. @@ -2516,7 +2608,8 @@ declare namespace radio { * | TdscdmaCellInformation | WcdmaCellInformation } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ data: CdmaCellInformation | GsmCellInformation | LteCellInformation | NrCellInformation | TdscdmaCellInformation | WcdmaCellInformation; @@ -2528,58 +2621,64 @@ declare namespace radio { * @interface CdmaCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface CdmaCellInformation { /** * Indicates the base station Id. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - baseId: number; + baseId: int; /** * Indicates the latitude. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - latitude: number; + latitude: int; /** * Indicates the longitude. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - longitude: number; + longitude: int; /** * Indicates the network identification code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - nid: number; + nid: int; /** * Indicates the system identification code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - sid: number; + sid: int; } /** @@ -2588,48 +2687,53 @@ declare namespace radio { * @interface GsmCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface GsmCellInformation { /** * Indicates the location area code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - lac: number; + lac: int; /** * Indicates the cell identification. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - cellId: number; + cellId: int; /** * Indicates the ARFCN(absolute radio frequency channel number). * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - arfcn: number; + arfcn: int; /** * Indicates the base station identification code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - bsic: number; + bsic: int; /** * Indicates the mobile country code. @@ -2637,7 +2741,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mcc: string; @@ -2647,7 +2752,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mnc: string; } @@ -2658,7 +2764,8 @@ declare namespace radio { * @interface LteCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface LteCellInformation { /** @@ -2674,42 +2781,46 @@ declare namespace radio { /** * Indicates the physical cell identification. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - pci: number; + pci: int; /** * Indicates the tracking area code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - tac: number; + tac: int; /** * Indicates the E-UTRA Absolute Radio Frequency Channel Number. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - earfcn: number; + earfcn: int; /** * Indicates the bandwidth. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - bandwidth: number; + bandwidth: int; /** * Indicates the mobile country code. @@ -2717,7 +2828,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mcc: string; @@ -2727,7 +2839,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mnc: string; @@ -2737,7 +2850,8 @@ declare namespace radio { * @type { boolean } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ isSupportEndc: boolean; } @@ -2748,48 +2862,53 @@ declare namespace radio { * @interface NrCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NrCellInformation { /** * Indicates the NR-ARFCN(NR Absolute Radio Frequency Channel Number). * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - nrArfcn: number; + nrArfcn: int; /** * Indicates the physical cell identification. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - pci: number; + pci: int; /** * Indicates the tracking area code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - tac: number; + tac: int; /** * Indicates the 5G network cell ID. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - nci: number; + nci: int; /** * Indicates the mobile country code. @@ -2797,7 +2916,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mcc: string; @@ -2807,7 +2927,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mnc: string; } @@ -2818,48 +2939,53 @@ declare namespace radio { * @interface TdscdmaCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface TdscdmaCellInformation { /** * Indicates the location area code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - lac: number; + lac: int; /** * Indicates the cell ID. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - cellId: number; + cellId: int; /** * Indicates the cell parameter ID. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - cpid: number; + cpid: int; /** * Indicates the absolute radio frequency number. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - uarfcn: number; + uarfcn: int; /** * Indicates the mobile country code. @@ -2867,7 +2993,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mcc: string; @@ -2877,7 +3004,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mnc: string; } @@ -2888,48 +3016,53 @@ declare namespace radio { * @interface WcdmaCellInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface WcdmaCellInformation { /** * Indicates the location area code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - lac: number; + lac: int; /** * Indicates the cell ID. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - cellId: number; + cellId: int; /** * Indicates the primary scrambling code. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - psc: number; + psc: int; /** * Indicates the absolute radio frequency number. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ - uarfcn: number; + uarfcn: int; /** * Indicates the mobile country code. @@ -2937,7 +3070,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mcc: string; @@ -2947,7 +3081,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ mnc: string; } @@ -3010,7 +3145,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ export enum NROptionMode { /** @@ -3018,7 +3154,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ NR_OPTION_UNKNOWN, @@ -3027,7 +3164,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ NR_OPTION_NSA_ONLY, @@ -3036,7 +3174,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ NR_OPTION_SA_ONLY, @@ -3045,7 +3184,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ NR_OPTION_NSA_AND_SA, } @@ -3056,7 +3196,8 @@ declare namespace radio { * @interface NetworkSearchResult * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NetworkSearchResult { /** @@ -3065,7 +3206,8 @@ declare namespace radio { * @type { boolean } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ isNetworkSearchSuccess: boolean; @@ -3075,7 +3217,8 @@ declare namespace radio { * @type { Array } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ networkSearchResult: Array; } @@ -3086,7 +3229,8 @@ declare namespace radio { * @interface NetworkInformation * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NetworkInformation { /** @@ -3095,7 +3239,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ operatorName: string; @@ -3105,7 +3250,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ operatorNumeric: string; @@ -3115,7 +3261,8 @@ declare namespace radio { * @type { NetworkInformationState } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ state: NetworkInformationState; @@ -3125,7 +3272,8 @@ declare namespace radio { * @type { string } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ radioTech: string; } @@ -3136,7 +3284,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export enum NetworkInformationState { /** @@ -3144,7 +3293,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_UNKNOWN, @@ -3153,7 +3303,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_AVAILABLE, @@ -3162,7 +3313,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_CURRENT, @@ -3171,7 +3323,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_FORBIDDEN } @@ -3182,19 +3335,21 @@ declare namespace radio { * @interface NetworkSelectionModeOptions * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NetworkSelectionModeOptions { /** * Indicates the card slot index number, ranging from 0 to * the maximum card slot index number supported by the device. * - * @type { number } + * @type { int } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ - slotId: number; + slotId: int; /** * Indicates the network search mode of the SIM card. @@ -3202,7 +3357,8 @@ declare namespace radio { * @type { NetworkSelectionMode } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ selectMode: NetworkSelectionMode; @@ -3212,7 +3368,8 @@ declare namespace radio { * @type { NetworkInformation } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ networkInformation: NetworkInformation; @@ -3222,7 +3379,8 @@ declare namespace radio { * @type { boolean } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ resumeSelection: boolean; } @@ -3232,14 +3390,16 @@ declare namespace radio { * * @enum { number } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export enum NetworkSelectionMode { /** * Indicates that the network is unavailable for registration. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_SELECTION_UNKNOWN, @@ -3247,7 +3407,8 @@ declare namespace radio { * Indicates that the network is unavailable for registration. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_SELECTION_AUTOMATIC, @@ -3255,7 +3416,8 @@ declare namespace radio { * Manual network selection modes. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_SELECTION_MANUAL } @@ -3432,7 +3594,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ export enum NetworkCapabilityType { /** @@ -3440,7 +3603,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ SERVICE_TYPE_LTE, @@ -3449,7 +3613,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ SERVICE_TYPE_NR, } @@ -3460,7 +3625,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ export enum NetworkCapabilityState { /** @@ -3468,7 +3634,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ SERVICE_CAPABILITY_OFF, @@ -3477,7 +3644,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 10 + * @since arkts{ '1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ SERVICE_CAPABILITY_ON, }