blob: 20bce34dd756af5fd5b816362d9accd66ec62837 [file] [log] [blame]
Hai Shalom1cc3ba22020-10-28 18:09:26 -07001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.wifi.supplicant@1.4;
18
19import @1.3::ISupplicantStaIfaceCallback;
20import @1.0::ISupplicantStaIfaceCallback.State;
21import @1.0::Bssid;
22
23/**
24 * Callback Interface exposed by the supplicant service
25 * for each station mode interface (ISupplicantStaIface).
26 *
27 * Clients need to host an instance of this HIDL interface object and
28 * pass a reference of the object to the supplicant via the
29 * corresponding |ISupplicantStaIface.registerCallback_1_4| method.
30 */
31interface ISupplicantStaIfaceCallback extends @1.3::ISupplicantStaIfaceCallback {
32 /**
33 * Used to indicate a Hotspot 2.0 terms and conditions acceptance is requested from the user
34 * before allowing the device to get internet access.
35 *
36 * @param bssid BSSID of the access point.
37 * @param url URL of the T&C server.
38 */
39 oneway onHs20TermsAndConditionsAcceptanceRequestedNotification(Bssid bssid, string url);
40};