1/* 2 * Copyright 2017 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 [email protected]; 18 19import @1.0::IWifiNanIfaceEventCallback; 20 21/** 22 * NAN Response and Asynchronous Event Callbacks. 23 * 24 * References to "NAN Spec" are to the Wi-Fi Alliance "Wi-Fi Neighbor Awareness 25 * Networking (NAN) Technical Specification". 26 */ 27interface IWifiNanIfaceEventCallback extends @1.0::IWifiNanIfaceEventCallback { 28 /** 29 * Asynchronous callback indicating a data-path (NDP) setup has been completed: received by 30 * both Initiator and Responder. 31 * 32 * Note: supersedes the @1.0::IWifiNanIfaceEventCallback.eventDataPathConfirm() method which is 33 * deprecated as of HAL version 1.2. 34 * 35 * @param event: NanDataPathConfirmInd containing event details. 36 */ 37 oneway eventDataPathConfirm_1_2(NanDataPathConfirmInd event); 38 39 /** 40 * Asynchronous callback indicating a data-path (NDP) schedule has been updated (e.g. channels 41 * have been changed). 42 * 43 * @param event: NanDataPathScheduleUpdateInd containing event details. 44 */ 45 oneway eventDataPathScheduleUpdate(NanDataPathScheduleUpdateInd event); 46};