diff --git a/api/@ohos.net.http.d.ts b/api/@ohos.net.http.d.ts index 941d24b925ea22bf5ff3ba8d3a6222a5153987b3..0a45422dce1f5b5469c02e683122b3e493c03b0d 100644 --- a/api/@ohos.net.http.d.ts +++ b/api/@ohos.net.http.d.ts @@ -3966,163 +3966,163 @@ declare namespace http { export interface PerformanceTiming { /** * Time taken from startup to DNS resolution completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to DNS resolution completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - dnsTiming: int; + dnsTiming: double; /** * Time taken from startup to TCP connection completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to TCP connection completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - tcpTiming: int; + tcpTiming: double; /** * Time taken from startup to TLS connection completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to TLS connection completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - tlsTiming: int; + tlsTiming: double; /** * Time taken from startup to start sending the first byte, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to start sending the first byte, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - firstSendTiming: int; + firstSendTiming: double; /** * Time taken from startup to receiving the first byte, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to receiving the first byte, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - firstReceiveTiming: int; + firstReceiveTiming: double; /** * Time taken from startup to the completion of the request, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to the completion of the request, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - totalFinishTiming: int; + totalFinishTiming: double; /** * Time taken from startup to completion of all redirection steps, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from startup to completion of all redirection steps, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - redirectTiming: int; + redirectTiming: double; /** * Time taken from HTTP request to header completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from HTTP request to header completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - responseHeaderTiming: int; + responseHeaderTiming: double; /** * Time taken from HTTP Request to body completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from HTTP Request to body completion, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - responseBodyTiming: int; + responseBodyTiming: double; /** * Time taken from HTTP Request to callback to the application, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @since 11 */ /** * Time taken from HTTP Request to callback to the application, in milliseconds. - * @type {int} + * @type {double} * @syscap SystemCapability.Communication.NetStack * @crossplatform * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ - totalTiming: int; + totalTiming: double; } /** diff --git a/api/@ohos.telephony.observer.d.ts b/api/@ohos.telephony.observer.d.ts index e42b83c2d6f5a05e163049bc3c8265e028f3df04..8373c0c116f4aea03ad357b1d714c78851c1c4a1 100644 --- a/api/@ohos.telephony.observer.d.ts +++ b/api/@ohos.telephony.observer.d.ts @@ -21,7 +21,9 @@ import type { Callback } from './@ohos.base'; import type radio from './@ohos.telephony.radio'; import type data from './@ohos.telephony.data'; +/*** if arkts 1.1 */ import type call from './@ohos.telephony.call'; +/*** endif */ import type sim from './@ohos.telephony.sim'; /** @@ -30,7 +32,8 @@ import type sim from './@ohos.telephony.sim'; * * @namespace observer * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ declare namespace observer { /** @@ -38,7 +41,8 @@ declare namespace observer { * * @typedef { radio.NetworkState } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type NetworkState = radio.NetworkState; @@ -47,7 +51,8 @@ declare namespace observer { * * @typedef { radio.SignalInformation } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type SignalInformation = radio.SignalInformation; @@ -57,7 +62,8 @@ declare namespace observer { * @typedef { radio.CellInformation } * @syscap SystemCapability.Telephony.StateRegistry * @systemapi Hide this for inner system use. - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type CellInformation = radio.CellInformation; @@ -66,7 +72,8 @@ declare namespace observer { * * @typedef { data.DataConnectState } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type DataConnectState = data.DataConnectState; @@ -75,7 +82,8 @@ declare namespace observer { * * @typedef { radio.RadioTechnology } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type RatType = radio.RadioTechnology; @@ -84,7 +92,8 @@ declare namespace observer { * * @typedef { data.DataFlowType } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type DataFlowType = data.DataFlowType; @@ -102,7 +111,8 @@ declare namespace observer { * * @typedef { sim.CardType } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type CardType = sim.CardType; @@ -111,7 +121,8 @@ declare namespace observer { * * @typedef { sim.SimState } * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ type SimState = sim.SimState; @@ -130,7 +141,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'networkStateChange', callback: Callback): void; @@ -168,7 +180,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'networkStateChange', options: ObserverOptions, callback: Callback): void; @@ -185,7 +198,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'networkStateChange', callback?: Callback): void; @@ -202,7 +216,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'signalInfoChange', callback: Callback>): void; @@ -236,7 +251,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'signalInfoChange', options: ObserverOptions, callback: Callback>): void; @@ -253,7 +269,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 6 + * @since arkts {'1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'signalInfoChange', callback?: Callback>): void; @@ -274,7 +291,8 @@ declare namespace observer { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellInfoChange', callback: Callback>): void; @@ -316,7 +334,8 @@ declare namespace observer { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry * @systemapi Hide this for inner system use. - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellInfoChange', options: ObserverOptions, callback: Callback>): void; @@ -335,7 +354,8 @@ declare namespace observer { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry * @systemapi Hide this for inner system use. - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'cellInfoChange', callback?: Callback>): void; @@ -370,7 +390,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellularDataConnectionStateChange', callback: Callback): void; @@ -408,7 +429,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellularDataConnectionStateChange', options: ObserverOptions, callback: Callback): void; @@ -442,7 +464,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'cellularDataConnectionStateChange', callback?: Callback): void; @@ -459,7 +482,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellularDataFlowChange', callback: Callback): void; @@ -493,7 +517,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'cellularDataFlowChange', options: ObserverOptions, callback: Callback): void; @@ -510,7 +535,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'cellularDataFlowChange', callback?: Callback): void; @@ -623,7 +649,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'simStateChange', callback: Callback): void; @@ -655,7 +682,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'simStateChange', options: ObserverOptions, callback: Callback): void; @@ -671,7 +699,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'simStateChange', callback?: Callback): void; @@ -689,7 +718,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ function on(type: 'iccAccountInfoChange', callback: Callback): void; @@ -706,7 +736,8 @@ declare namespace observer { * @throws { BusinessError } 8300003 - System internal error. * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.StateRegistry - * @since 10 + * @since arkts {'1.1':'10','1.2':'20'} + * @arkts 1.1&1.2 */ function off(type: 'iccAccountInfoChange', callback?: Callback): void; @@ -715,7 +746,8 @@ declare namespace observer { * * @interface SimStateData * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ export interface SimStateData { /** @@ -723,7 +755,8 @@ declare namespace observer { * * @type { CardType } * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ type: CardType; @@ -732,7 +765,8 @@ declare namespace observer { * * @type { SimState } * @syscap SystemCapability.Telephony.StateRegistry - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ state: SimState; @@ -741,7 +775,8 @@ declare namespace observer { * * @type { LockReason } * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ reason: LockReason; } @@ -778,7 +813,8 @@ declare namespace observer { * * @interface DataConnectionStateInfo * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ export interface DataConnectionStateInfo { /** @@ -786,7 +822,8 @@ declare namespace observer { * * @type { DataConnectState } * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ state: DataConnectState; @@ -795,7 +832,8 @@ declare namespace observer { * * @type { RatType } * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ network: RatType; } @@ -805,7 +843,8 @@ declare namespace observer { * * @interface ObserverOptions * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ export interface ObserverOptions { /** @@ -813,7 +852,8 @@ declare namespace observer { * * @type { number } * @syscap SystemCapability.Telephony.StateRegistry - * @since 11 + * @since arkts {'1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ slotId: number; } @@ -823,14 +863,16 @@ declare namespace observer { * * @enum { number } * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export enum LockReason { /** * Indicates no SIM lock. * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_NONE, @@ -838,7 +880,8 @@ declare namespace observer { * Indicates the PIN lock. * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PIN, @@ -846,7 +889,8 @@ declare namespace observer { * Indicates the PUK lock. * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PUK, @@ -854,7 +898,8 @@ declare namespace observer { * Indicates network personalization of PIN lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PN_PIN, @@ -862,7 +907,8 @@ declare namespace observer { * Indicates network personalization of PUK lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PN_PUK, @@ -870,7 +916,8 @@ declare namespace observer { * Indicates network subset personalization of PIN lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PU_PIN, @@ -878,7 +925,8 @@ declare namespace observer { * Indicates network subset personalization of PUK lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PU_PUK, @@ -886,7 +934,8 @@ declare namespace observer { * Indicates service provider personalization of PIN lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PP_PIN, @@ -894,7 +943,8 @@ declare namespace observer { * Indicates service provider personalization of PUK lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PP_PUK, @@ -902,7 +952,8 @@ declare namespace observer { * Indicates corporate personalization of PIN lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PC_PIN, @@ -910,7 +961,8 @@ declare namespace observer { * Indicates corporate personalization of PUK lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_PC_PUK, @@ -918,7 +970,8 @@ declare namespace observer { * Indicates SIM/USIM personalization of PIN lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_SIM_PIN, @@ -926,7 +979,8 @@ declare namespace observer { * Indicates SIM/USIM personalization of PUK lock(refer 3GPP TS 22.022 [33]). * * @syscap SystemCapability.Telephony.StateRegistry - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SIM_SIM_PUK, } diff --git a/api/@ohos.telephony.radio.d.ts b/api/@ohos.telephony.radio.d.ts index 8a39228dd9b51e6b3547d46bfc7b4587446106ef..53810c07c8324b6fd8e85258fc9bbca137a184cf 100644 --- a/api/@ohos.telephony.radio.d.ts +++ b/api/@ohos.telephony.radio.d.ts @@ -27,7 +27,8 @@ import type { AsyncCallback, Callback } from './@ohos.base'; * * @namespace radio * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ declare namespace radio { /** @@ -184,7 +185,8 @@ 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 getNetworkState(slotId: number, callback: AsyncCallback): void; @@ -203,7 +205,8 @@ 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 getNetworkState(slotId?: number): Promise; @@ -220,7 +223,8 @@ 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 getNetworkState(callback: AsyncCallback): void; @@ -800,7 +804,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 getPrimarySlotId(callback: AsyncCallback): void; @@ -814,7 +819,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 getPrimarySlotId(): Promise; @@ -876,7 +882,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 getSignalInformation(slotId: number, callback: AsyncCallback>): void; @@ -894,7 +901,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 getSignalInformation(slotId: number): Promise>; @@ -939,7 +947,8 @@ declare namespace radio { * * @returns { boolean } Returns {@code true} if the device supports 5G NR; returns {@code false} otherwise. * @syscap SystemCapability.Telephony.CoreService - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ function isNRSupported(): boolean; @@ -950,7 +959,8 @@ declare namespace radio { * index number supported by the device. * @returns { boolean } Returns {@code true} if the device supports 5G NR; returns {@code false} otherwise. * @syscap SystemCapability.Telephony.CoreService - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ function isNRSupported(slotId: number): boolean; @@ -1282,7 +1292,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ function getImsRegInfo(slotId: number, imsType: ImsServiceType, callback: AsyncCallback): void; @@ -1303,7 +1314,8 @@ declare namespace radio { * @throws { BusinessError } 8300999 - Unknown error. * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ function getImsRegInfo(slotId: number, imsType: ImsServiceType): Promise; @@ -1934,7 +1946,8 @@ declare namespace radio { * * @interface NetworkRadioTech * @syscap SystemCapability.Telephony.CoreService - * @since 11 + * @since arkts{ '1.1':'11','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NetworkRadioTech { /** @@ -1942,7 +1955,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 */ psRadioTech: RadioTechnology; @@ -1961,14 +1975,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 RadioTechnology { /** * Indicates unknown radio access technology (RAT). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_UNKNOWN = 0, @@ -1977,7 +1993,8 @@ declare namespace radio { * radio system (GPRS), and enhanced data rates for GSM evolution (EDGE). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_GSM = 1, @@ -1986,7 +2003,8 @@ declare namespace radio { * Single-Carrier Radio Transmission Technology (1xRTT). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_1XRTT = 2, @@ -1994,7 +2012,8 @@ declare namespace radio { * Indicates that RAT is wideband code division multiple address (WCDMA). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_WCDMA = 3, @@ -2003,7 +2022,8 @@ declare namespace radio { * access (HSDPA), and high-speed uplink packet access (HSUPA). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_HSPA = 4, @@ -2012,7 +2032,8 @@ declare namespace radio { * HSPA+ (DC-HSPA+). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_HSPAP = 5, @@ -2020,7 +2041,8 @@ declare namespace radio { * Indicates that RAT is time division-synchronous code division multiple access (TD-SCDMA). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_TD_SCDMA = 6, @@ -2028,7 +2050,8 @@ declare namespace radio { * Indicates that RAT is evolution data only (EVDO), including EVDO Rev.0, EVDO Rev.A, and EVDO Rev.B. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_EVDO = 7, @@ -2036,7 +2059,8 @@ declare namespace radio { * Indicates that RAT is evolved high rate packet data (EHRPD). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_EHRPD = 8, @@ -2044,7 +2068,8 @@ declare namespace radio { * Indicates that RAT is long term evolution (LTE). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_LTE = 9, @@ -2052,7 +2077,8 @@ declare namespace radio { * Indicates that RAT is LTE carrier aggregation (LTE-CA). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_LTE_CA = 10, @@ -2060,7 +2086,8 @@ declare namespace radio { * Indicates that RAT is interworking WLAN (I-WLAN). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_IWLAN = 11, @@ -2068,7 +2095,8 @@ declare namespace radio { * Indicates that RAT is 5G new radio (NR). * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ RADIO_TECHNOLOGY_NR = 12 } @@ -2078,7 +2106,8 @@ declare namespace radio { * * @interface SignalInformation * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export interface SignalInformation { /** @@ -2086,7 +2115,8 @@ declare namespace radio { * * @type { NetworkType } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ signalType: NetworkType; @@ -2095,7 +2125,8 @@ declare namespace radio { * * @type { number } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ signalLevel: number; @@ -2104,7 +2135,8 @@ declare namespace radio { * * @type { number } * @syscap SystemCapability.Telephony.CoreService - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ dBm: number; } @@ -2114,14 +2146,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 NetworkType { /** * Indicates unknown network type. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_UNKNOWN, @@ -2129,7 +2163,8 @@ declare namespace radio { * Indicates that the network type is GSM. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_GSM, @@ -2137,7 +2172,8 @@ declare namespace radio { * Indicates that the network type is CDMA. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_CDMA, @@ -2145,7 +2181,8 @@ declare namespace radio { * Indicates that the network type is WCDMA. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_WCDMA, @@ -2153,7 +2190,8 @@ declare namespace radio { * Indicates that the network type is TD-SCDMA. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_TDSCDMA, @@ -2161,7 +2199,8 @@ declare namespace radio { * Indicates that the network type is LTE. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_LTE, @@ -2169,7 +2208,8 @@ declare namespace radio { * Indicates that the network type is 5G NR. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NETWORK_TYPE_NR } @@ -2179,7 +2219,8 @@ declare namespace radio { * * @interface NetworkState * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ export interface NetworkState { /** @@ -2190,7 +2231,8 @@ declare namespace radio { * * @type { string } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ longOperatorName: string; @@ -2202,7 +2244,8 @@ declare namespace radio { * * @type { string } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ shortOperatorName: string; @@ -2213,7 +2256,8 @@ declare namespace radio { * * @type { string } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ plmnNumeric: string; @@ -2222,7 +2266,8 @@ declare namespace radio { * * @type { boolean } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ isRoaming: boolean; @@ -2231,7 +2276,8 @@ declare namespace radio { * * @type { RegState } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ regState: RegState; @@ -2240,7 +2286,8 @@ declare namespace radio { * * @type { RadioTechnology } * @syscap SystemCapability.Telephony.CoreService - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ cfgTech: RadioTechnology; @@ -2251,7 +2298,8 @@ declare namespace radio { * * @type { NsaState } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ nsaState: NsaState; @@ -2274,7 +2322,8 @@ declare namespace radio { * * @type { boolean } * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ isEmergency: boolean; } @@ -2284,14 +2333,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 RegState { /** * Indicates a state in which a device cannot use any service. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ REG_STATE_NO_SERVICE = 0, @@ -2299,7 +2350,8 @@ declare namespace radio { * Indicates a state in which a device can use services properly. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ REG_STATE_IN_SERVICE = 1, @@ -2307,7 +2359,8 @@ declare namespace radio { * Indicates a state in which a device can use only the emergency call service. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ REG_STATE_EMERGENCY_CALL_ONLY = 2, @@ -2315,7 +2368,8 @@ declare namespace radio { * Indicates that the cellular radio is powered off. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ REG_STATE_POWER_OFF = 3 } @@ -2325,14 +2379,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 NsaState { /** * Indicates that a device is idle under or is connected to an LTE cell that does not support NSA. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_NOT_SUPPORT = 1, @@ -2340,7 +2396,8 @@ declare namespace radio { * Indicates that a device is idle under an LTE cell supporting NSA but not NR coverage detection. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_NO_DETECT = 2, @@ -2349,7 +2406,8 @@ declare namespace radio { * that supports NSA and NR coverage detection. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_CONNECTED_DETECT = 3, @@ -2357,7 +2415,8 @@ declare namespace radio { * Indicates that a device is idle under an LTE cell supporting NSA and NR coverage detection. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_IDLE_DETECT = 4, @@ -2365,7 +2424,8 @@ declare namespace radio { * Indicates that a device is connected to an LTE + NR network under an LTE cell that supports NSA. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_DUAL_CONNECTED = 5, @@ -2373,7 +2433,8 @@ declare namespace radio { * Indicates that a device is idle under or is connected to an NG-RAN cell while being attached to 5GC. * * @syscap SystemCapability.Telephony.CoreService - * @since 6 + * @since arkts{ '1.1':'6','1.2':'20'} + * @arkts 1.1&1.2 */ NSA_STATE_SA_ATTACHED = 6 } @@ -2383,7 +2444,8 @@ declare namespace radio { * * @interface CellInformation * @syscap SystemCapability.Telephony.CoreService - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ export interface CellInformation { /** @@ -2393,7 +2455,8 @@ declare namespace radio { * * @type { NetworkType } * @syscap SystemCapability.Telephony.CoreService - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ networkType: NetworkType; @@ -2428,7 +2491,8 @@ declare namespace radio { * * @type { SignalInformation } * @syscap SystemCapability.Telephony.CoreService - * @since 8 + * @since arkts{ '1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ signalInformation: SignalInformation; @@ -3189,7 +3253,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ export enum ImsRegState { /** @@ -3197,7 +3262,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ IMS_UNREGISTERED, @@ -3206,7 +3272,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ IMS_REGISTERED, } @@ -3217,7 +3284,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ export enum ImsRegTech { /** @@ -3225,7 +3293,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ REGISTRATION_TECH_NONE, @@ -3234,7 +3303,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ REGISTRATION_TECH_LTE, @@ -3243,7 +3313,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ REGISTRATION_TECH_IWLAN, @@ -3252,7 +3323,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ REGISTRATION_TECH_NR, } @@ -3263,7 +3335,8 @@ declare namespace radio { * @interface ImsRegInfo * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ export interface ImsRegInfo { /** @@ -3272,7 +3345,8 @@ declare namespace radio { * @type { ImsRegState } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ imsRegState: ImsRegState; @@ -3282,7 +3356,8 @@ declare namespace radio { * @type { ImsRegTech } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ imsRegTech: ImsRegTech; } @@ -3293,7 +3368,8 @@ declare namespace radio { * @enum { number } * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ export enum ImsServiceType { /** @@ -3301,7 +3377,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ TYPE_VOICE, @@ -3310,7 +3387,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ TYPE_VIDEO, @@ -3319,7 +3397,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ TYPE_UT, @@ -3328,7 +3407,8 @@ declare namespace radio { * * @syscap SystemCapability.Telephony.CoreService * @systemapi Hide this for inner system use. - * @since 9 + * @since arkts{ '1.1':'9','1.2':'20'} + * @arkts 1.1&1.2 */ TYPE_SMS, } diff --git a/api/@ohos.telephony.sim.d.ts b/api/@ohos.telephony.sim.d.ts index c57d6880fde75825d9173976be7e3062150c391a..37d1de351ed3c8136262cac44acbd2535f70b213 100644 --- a/api/@ohos.telephony.sim.d.ts +++ b/api/@ohos.telephony.sim.d.ts @@ -2546,14 +2546,16 @@ declare namespace sim { * * @enum { number } * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ export enum CardType { /** * Icc card type: unknown type Card. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ UNKNOWN_CARD = -1, @@ -2561,7 +2563,8 @@ declare namespace sim { * Icc card type: Single sim card type. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ SINGLE_MODE_SIM_CARD = 10, @@ -2569,7 +2572,8 @@ declare namespace sim { * Icc card type: Single usim card type. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ SINGLE_MODE_USIM_CARD = 20, @@ -2577,7 +2581,8 @@ declare namespace sim { * Icc card type: Single ruim card type. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ SINGLE_MODE_RUIM_CARD = 30, @@ -2585,7 +2590,8 @@ declare namespace sim { * Icc card type: Double card C+G. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ DUAL_MODE_CG_CARD = 40, @@ -2593,7 +2599,8 @@ declare namespace sim { * Icc card type: China Telecom Internal Roaming Card (Dual Mode). * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ CT_NATIONAL_ROAMING_CARD = 41, @@ -2601,7 +2608,8 @@ declare namespace sim { * Icc card type: China Unicom Dual Mode Card. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ CU_DUAL_MODE_CARD = 42, @@ -2609,7 +2617,8 @@ declare namespace sim { * Icc card type: China Telecom LTE Card (Dual Mode). * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ DUAL_MODE_TELECOM_LTE_CARD = 43, @@ -2617,14 +2626,16 @@ declare namespace sim { * Icc card type: Double card U+G. * * @syscap SystemCapability.Telephony.CoreService - * @since 7 + * @since arkts {'1.1':'7','1.2':'20'} + * @arkts 1.1&1.2 */ DUAL_MODE_UG_CARD = 50, /** * Icc card type: Single isim card type. * @syscap SystemCapability.Telephony.CoreService - * @since 8 + * @since arkts {'1.1':'8','1.2':'20'} + * @arkts 1.1&1.2 */ SINGLE_MODE_ISIM_CARD = 60 }