Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

flutterblue.pbenum.dart 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ///
  2. // Generated code. Do not modify.
  3. // source: flutterblue.proto
  4. ///
  5. // ignore_for_file: non_constant_identifier_names,library_prefixes,unused_import
  6. // ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
  7. import 'dart:core' show int, dynamic, String, List, Map;
  8. import 'package:protobuf/protobuf.dart' as $pb;
  9. class BluetoothState_State extends $pb.ProtobufEnum {
  10. static const BluetoothState_State UNKNOWN = const BluetoothState_State._(0, 'UNKNOWN');
  11. static const BluetoothState_State UNAVAILABLE = const BluetoothState_State._(1, 'UNAVAILABLE');
  12. static const BluetoothState_State UNAUTHORIZED = const BluetoothState_State._(2, 'UNAUTHORIZED');
  13. static const BluetoothState_State TURNING_ON = const BluetoothState_State._(3, 'TURNING_ON');
  14. static const BluetoothState_State ON = const BluetoothState_State._(4, 'ON');
  15. static const BluetoothState_State TURNING_OFF = const BluetoothState_State._(5, 'TURNING_OFF');
  16. static const BluetoothState_State OFF = const BluetoothState_State._(6, 'OFF');
  17. static const List<BluetoothState_State> values = const <BluetoothState_State> [
  18. UNKNOWN,
  19. UNAVAILABLE,
  20. UNAUTHORIZED,
  21. TURNING_ON,
  22. ON,
  23. TURNING_OFF,
  24. OFF,
  25. ];
  26. static final Map<int, BluetoothState_State> _byValue = $pb.ProtobufEnum.initByValue(values);
  27. static BluetoothState_State valueOf(int value) => _byValue[value];
  28. static void $checkItem(BluetoothState_State v) {
  29. if (v is! BluetoothState_State) $pb.checkItemFailed(v, 'BluetoothState_State');
  30. }
  31. const BluetoothState_State._(int v, String n) : super(v, n);
  32. }
  33. class BluetoothDevice_Type extends $pb.ProtobufEnum {
  34. static const BluetoothDevice_Type UNKNOWN = const BluetoothDevice_Type._(0, 'UNKNOWN');
  35. static const BluetoothDevice_Type CLASSIC = const BluetoothDevice_Type._(1, 'CLASSIC');
  36. static const BluetoothDevice_Type LE = const BluetoothDevice_Type._(2, 'LE');
  37. static const BluetoothDevice_Type DUAL = const BluetoothDevice_Type._(3, 'DUAL');
  38. static const List<BluetoothDevice_Type> values = const <BluetoothDevice_Type> [
  39. UNKNOWN,
  40. CLASSIC,
  41. LE,
  42. DUAL,
  43. ];
  44. static final Map<int, BluetoothDevice_Type> _byValue = $pb.ProtobufEnum.initByValue(values);
  45. static BluetoothDevice_Type valueOf(int value) => _byValue[value];
  46. static void $checkItem(BluetoothDevice_Type v) {
  47. if (v is! BluetoothDevice_Type) $pb.checkItemFailed(v, 'BluetoothDevice_Type');
  48. }
  49. const BluetoothDevice_Type._(int v, String n) : super(v, n);
  50. }
  51. class WriteCharacteristicRequest_WriteType extends $pb.ProtobufEnum {
  52. static const WriteCharacteristicRequest_WriteType WITH_RESPONSE = const WriteCharacteristicRequest_WriteType._(0, 'WITH_RESPONSE');
  53. static const WriteCharacteristicRequest_WriteType WITHOUT_RESPONSE = const WriteCharacteristicRequest_WriteType._(1, 'WITHOUT_RESPONSE');
  54. static const List<WriteCharacteristicRequest_WriteType> values = const <WriteCharacteristicRequest_WriteType> [
  55. WITH_RESPONSE,
  56. WITHOUT_RESPONSE,
  57. ];
  58. static final Map<int, WriteCharacteristicRequest_WriteType> _byValue = $pb.ProtobufEnum.initByValue(values);
  59. static WriteCharacteristicRequest_WriteType valueOf(int value) => _byValue[value];
  60. static void $checkItem(WriteCharacteristicRequest_WriteType v) {
  61. if (v is! WriteCharacteristicRequest_WriteType) $pb.checkItemFailed(v, 'WriteCharacteristicRequest_WriteType');
  62. }
  63. const WriteCharacteristicRequest_WriteType._(int v, String n) : super(v, n);
  64. }
  65. class DeviceStateResponse_BluetoothDeviceState extends $pb.ProtobufEnum {
  66. static const DeviceStateResponse_BluetoothDeviceState DISCONNECTED = const DeviceStateResponse_BluetoothDeviceState._(0, 'DISCONNECTED');
  67. static const DeviceStateResponse_BluetoothDeviceState CONNECTING = const DeviceStateResponse_BluetoothDeviceState._(1, 'CONNECTING');
  68. static const DeviceStateResponse_BluetoothDeviceState CONNECTED = const DeviceStateResponse_BluetoothDeviceState._(2, 'CONNECTED');
  69. static const DeviceStateResponse_BluetoothDeviceState DISCONNECTING = const DeviceStateResponse_BluetoothDeviceState._(3, 'DISCONNECTING');
  70. static const List<DeviceStateResponse_BluetoothDeviceState> values = const <DeviceStateResponse_BluetoothDeviceState> [
  71. DISCONNECTED,
  72. CONNECTING,
  73. CONNECTED,
  74. DISCONNECTING,
  75. ];
  76. static final Map<int, DeviceStateResponse_BluetoothDeviceState> _byValue = $pb.ProtobufEnum.initByValue(values);
  77. static DeviceStateResponse_BluetoothDeviceState valueOf(int value) => _byValue[value];
  78. static void $checkItem(DeviceStateResponse_BluetoothDeviceState v) {
  79. if (v is! DeviceStateResponse_BluetoothDeviceState) $pb.checkItemFailed(v, 'DeviceStateResponse_BluetoothDeviceState');
  80. }
  81. const DeviceStateResponse_BluetoothDeviceState._(int v, String n) : super(v, n);
  82. }