Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorNotifier.java

Issue 2284613002: [sensors] Android platform adaptation for Generic Sensor API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for Tim's comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698