blob: f26d47cdcb969b2aecfddb0ba14f553a4f7e112c [file] [log] [blame]
Wyatt Riley4d3c8e22017-11-07 17:39:29 -08001/*
2 * Copyright (C) 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 android.hardware.gnss@1.1;
18
19import @1.0::IGnss;
20
21import IGnssCallback;
22
23/** Represents the standard GNSS (Global Navigation Satellite System) interface. */
24interface IGnss extends @1.0::IGnss {
25 /**
26 * Opens the interface and provides the callback routines
27 * to the implementation of this interface.
28 *
29 * @param callback Callback interface for IGnss.
30 *
31 * @return success Returns true on success.
32 */
33 setCallback_1_1(IGnssCallback callback) generates (bool success);
34};