blob: 27b437446ae0093330a3449f29ced787520c864a [file] [log] [blame]
Roshan Pius120f94c2016-10-13 11:48:42 -07001/*
2 * Copyright 2016 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@1.0;
18
19/**
20 * NAN Response and Event Callbacks.
21 */
22interface IWifiNanIfaceEventCallback {
23 /**
24 * NotifyResponse invoked to notify the status of the Request.
25 */
26 oneway notifyResponse(CommandId id, NanResponseMsg rspData);
27
28 /**
29 * Callbacks for the various asynchornous NAN Events.
30 */
31 oneway eventPublishTerminated(NanPublishTerminatedInd event);
32
33 oneway eventMatch(NanMatchInd event);
34
35 oneway eventMatchExpired(NanMatchExpiredInd event);
36
37 oneway eventSubscribeTerminated(NanSubscribeTerminatedInd event);
38
39 oneway eventFollowup(NanFollowupInd event);
40
41 oneway eventDiscEngEvent(NanDiscEngEventInd event);
42
43 oneway eventDisabled(NanDisabledInd event);
44
45 oneway eventBeaconSdfPayload(NanBeaconSdfPayloadInd event);
46
47 oneway eventDataRequest(NanDataPathRequestInd event);
48
49 oneway eventDataConfirm(NanDataPathConfirmInd event);
50
51 oneway eventDataEnd(NanDataPathEndInd event);
52
53 oneway eventTransmitFollowup(NanTransmitFollowupInd event);
54};