OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 #ifndef WebBluetoothRemoteGATTCharacteristic_h | |
6 #define WebBluetoothRemoteGATTCharacteristic_h | |
7 | |
8 #include "public/platform/WebVector.h" | |
9 | |
10 namespace blink { | |
11 | |
12 // An object through which the embedder can trigger events on a Document-bound | |
13 // Web Bluetooth GATT Characteristic object. | |
14 class WebBluetoothRemoteGATTCharacteristic { | |
15 public: | |
16 // Used to notify blink that the characteristic's value changed. | |
17 virtual void dispatchCharacteristicValueChanged( | |
18 const WebVector<uint8_t>&) = 0; | |
19 }; | |
20 | |
21 } // namespace blink | |
22 | |
23 #endif // WebBluetoothRemoteGATTCharacteristicDelegate_h | |
OLD | NEW |