• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @addtogroup Ril
18 * @{
19 *
20 * @brief Defines Ril-related APIs.
21 *
22 * The radio interface layer (RIL) module provides APIs and callbacks for upper-layer telephony services,
23 * including call, SMS, MMS, network search, and SIM card services.
24 *
25 * @since 5.1
26 * @version 1.0
27 */
28
29/**
30 * @file IRilCallback.idl
31 *
32 * @brief Declares callback APIs of the RIL module.
33 *
34 * @since 5.1
35 * @version 1.0
36 */
37
38/**
39 * @brief Defines the path for the package of the RIL module APIs.
40 *
41 * @since 5.1
42 * @version 1.0
43 */
44package ohos.hdi.ril.v1_4;
45
46import ohos.hdi.ril.v1_3.IRilCallback;
47import ohos.hdi.ril.v1_4.Types;
48
49/**
50 * @brief Declares callback APIs of the RIL module.
51 *
52 * These APIs provide the callback functions for making calls, sending SMS and MMS messages,
53 * activating SIM cards, and accessing the Internet. The caller needs to implement these callbacks.
54 *
55 * @since 5.1
56 * @version 1.0
57 */
58[callback] interface IRilCallback extends ohos.hdi.ril.v1_3.IRilCallback {
59    /**
60     * @brief Callback for the response of querying the call status information list.
61     *
62     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
63     * For details, see {@link RilRadioResponseInfo}.
64     * @param callList Call status information list. For details, see {@link CallInfoExtList}.
65     *
66     * @since 5.1
67     * @version 1.0
68     */
69    [oneway] GetCallListResponseExt([in] struct RilRadioResponseInfo responseInfo,
70        [in] struct CallInfoExtList callList);
71
72    /**
73     * @brief Reporting the ursp info.
74     *
75     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
76     * see {@link RilRadioResponseInfo}.
77     * @param networksliceUrspInfo.
78     *
79     * @since 5.1
80     * @version 1.0
81     */
82    [oneway] NetworkSliceUrspRpt([in] struct RilRadioResponseInfo responseInfo,
83        [in] struct NetworkSliceUrspInfo networksliceUrspInfo);
84
85    /**
86     * @brief Reporting the allowed-nssai info.
87     *
88     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
89     * see {@link RilRadioResponseInfo}.
90     * @param networksliceAllowedNssaiInfo.
91     *
92     * @since 5.1
93     * @version 1.0
94     */
95    [oneway] NetworkSliceAllowedNssaiRpt([in] struct RilRadioResponseInfo responseInfo,
96        [in] struct NetworkSliceAllowedNssaiInfo networksliceAllowedNssaiInfo);
97
98    /**
99     * @brief Reporting the ehplmn info.
100     *
101     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
102     * see {@link RilRadioResponseInfo}.
103     * @param networksliceEhplmnInfo.
104     *
105     * @since 5.1
106     * @version 1.0
107     */
108    [oneway] NetworkSliceEhplmnRpt([in] struct RilRadioResponseInfo responseInfo,
109        [in] struct NetworkSliceEhplmnInfo networksliceEhplmnInfo);
110}
111/** @} */