OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.device.sensors; | |
6 | |
7 /** | |
8 * Interface used to notify native PlatformSensor about sensor reading changes o r errors. | |
9 */ | |
10 interface PlatformSensorNotifier { | |
timvolodine
2016/09/07 14:51:06
Looking at the delta wrt the latest upload, looks
shalamov
2016/09/07 18:49:18
Unfurtunately this is required by to abstract nati
timvolodine
2016/09/08 12:51:03
oh sorry I didn't realize it was for testing only.
shalamov
2016/09/08 13:40:49
Done.
| |
11 // Called when sensor reading is changed. | |
12 public void sensorReadingChanged(); | |
Ted C
2016/09/07 18:12:24
public is standard on interfaces, so you don't act
| |
13 // Called in case of error. | |
14 public void sensorError(); | |
15 } | |
OLD | NEW |