18ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh/*
28ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * Copyright (C) 2013 The Android Open Source Project
38ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh *
48ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * Licensed under the Apache License, Version 2.0 (the "License");
58ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * you may not use this file except in compliance with the License.
68ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * You may obtain a copy of the License at
78ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh *
88ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh *      http://www.apache.org/licenses/LICENSE-2.0
98ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh *
108ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * Unless required by applicable law or agreed to in writing, software
118ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * distributed under the License is distributed on an "AS IS" BASIS,
128ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * See the License for the specific language governing permissions and
148ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh * limitations under the License.
158ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh */
168ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh
178ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganeshpackage android.hardware.location;
188ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh
198ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganeshimport android.location.Location;
208ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh
218ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh/** @hide */
228ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganeshoneway interface IGeofenceHardwareCallback {
23da6508954a492f3dd4397e70e4fa08ee54bd2741Jaikumar Ganesh   void onGeofenceTransition(int geofenceId, int transition, in Location location,
248ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh            long timestamp, int monitoringType);
258ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh   void onGeofenceAdd(int geofenceId, int status);
268ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh   void onGeofenceRemove(int geofenceId, int status);
278ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh   void onGeofencePause(int geofenceId, int status);
288ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh   void onGeofenceResume(int geofenceId, int status);
298ce470dd4ba0608abb6b5eae117cefca927af96bJaikumar Ganesh}
30