14e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro/* 24e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * Copyright 2017 The Android Open Source Project 34e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * 44e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * Licensed under the Apache License, Version 2.0 (the "License"); 54e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * you may not use this file except in compliance with the License. 64e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * You may obtain a copy of the License at 74e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * 84e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * http://www.apache.org/licenses/LICENSE-2.0 94e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * 104e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * Unless required by applicable law or agreed to in writing, software 114e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * distributed under the License is distributed on an "AS IS" BASIS, 124e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * See the License for the specific language governing permissions and 144e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * limitations under the License. 154e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro */ 164e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro 174e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguropackage android.hardware.location; 184e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro 194e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguroimport android.hardware.location.NanoAppMessage; 204e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro 214e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro/** 224e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro * @hide 234e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro */ 244e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishigurointerface IContextHubClient { 254e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro 264e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro // Sends a message to a nanoapp 274e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro int sendMessageToNanoApp(in NanoAppMessage message); 2849e030fbd2ce6e4e12d2c468f0ef3d329a54fca0Arthur Ishiguro 2949e030fbd2ce6e4e12d2c468f0ef3d329a54fca0Arthur Ishiguro // Closes the connection with the Context Hub 3049e030fbd2ce6e4e12d2c468f0ef3d329a54fca0Arthur Ishiguro void close(); 314e39aa1e1956ef0b363f38630865acd3ef65761fArthur Ishiguro} 32