OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 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 /** |
| 6 * @fileoverview This file defines the status codes returned by the device. |
| 7 */ |
| 8 |
| 9 var DeviceStatusCodes = {}; |
| 10 |
| 11 /** |
| 12 * Device operation succeeded. |
| 13 * @const |
| 14 */ |
| 15 DeviceStatusCodes.OK_STATUS = 0; |
| 16 |
| 17 /** |
| 18 * Device operation wait touch status. |
| 19 * @const |
| 20 */ |
| 21 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985; |
| 22 |
| 23 /** |
| 24 * Device operation invalid data status. |
| 25 * @const |
| 26 */ |
| 27 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984; |
| 28 |
| 29 /** |
| 30 * Device operation wrong data status. |
| 31 * @const |
| 32 */ |
| 33 DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80; |
| 34 |
| 35 /** |
| 36 * Device operation timeout status. |
| 37 * @const |
| 38 */ |
| 39 DeviceStatusCodes.TIMEOUT_STATUS = -5; |
| 40 |
| 41 /** |
| 42 * Device operation busy status. |
| 43 * @const |
| 44 */ |
| 45 DeviceStatusCodes.BUSY_STATUS = -6; |
| 46 |
| 47 /** |
| 48 * Device removed status. |
| 49 * @const |
| 50 */ |
| 51 DeviceStatusCodes.GONE_STATUS = -8; |
OLD | NEW |