| // iioservice/mojo/sensor.mojom-shared-message-ids.h is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2018 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IIOSERVICE_MOJO_SENSOR_MOJOM_SHARED_MESSAGE_IDS_H_ |
| #define IIOSERVICE_MOJO_SENSOR_MOJOM_SHARED_MESSAGE_IDS_H_ |
| |
| #include <stdint.h> |
| |
| |
| namespace cros::mojom { |
| namespace messages { |
| |
| |
| enum class SensorService : uint32_t { |
| kGetDeviceIds = 0, |
| kGetAllDeviceIds = 1, |
| kGetDevice = 2, |
| kRegisterNewDevicesObserver = 3, |
| }; |
| enum class SensorDevice : uint32_t { |
| kSetTimeout = 0, |
| kGetAttributes = 1, |
| kSetFrequency = 2, |
| kStartReadingSamples = 3, |
| kStopReadingSamples = 4, |
| kGetAllChannelIds = 5, |
| kSetChannelsEnabled = 6, |
| kGetChannelsEnabled = 7, |
| kGetChannelsAttributes = 8, |
| kGetAllEvents = 9, |
| kGetEventsAttributes = 12, |
| kStartReadingEvents = 15, |
| }; |
| enum class SensorDeviceSamplesObserver : uint32_t { |
| kOnSampleUpdated = 0, |
| kOnErrorOccurred = 1, |
| }; |
| enum class SensorServiceNewDevicesObserver : uint32_t { |
| kOnNewDeviceAdded = 0, |
| kOnDeviceRemoved = 1, |
| }; |
| enum class SensorDeviceEventsObserver : uint32_t { |
| kOnEventUpdated = 0, |
| kOnErrorOccurred = 1, |
| }; |
| |
| } // namespace messages |
| |
| } // cros::mojom |
| |
| #endif // IIOSERVICE_MOJO_SENSOR_MOJOM_SHARED_MESSAGE_IDS_H_ |