diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2019-03-04 13:11:58 -0500 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2019-03-04 13:11:58 -0500 |
commit | ca82432f267708e5f31c391ec614e92b128b7cc2 (patch) | |
tree | 4423df499f822a660afa98f287955f35643cadd0 /base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java | |
parent | 252153e2183184bfce7bfb392c42f2e71eae5a8b (diff) | |
download | sdl_android-ca82432f267708e5f31c391ec614e92b128b7cc2.tar.gz |
Move rpc and enums dirs to base
Diffstat (limited to 'base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java')
-rw-r--r-- | base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java new file mode 100644 index 000000000..546cf05b5 --- /dev/null +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/WiperStatus.java @@ -0,0 +1,98 @@ +package com.smartdevicelink.proxy.rpc.enums;
+/** This enumeration reflects the status of the wipers.
+ *
+ * @since SmartDeviceLink 2.0
+ *
+ * @see GetVehicleData
+ * @see OnVehicleData
+ */
+
+public enum WiperStatus {
+ /** The wipers are off.
+ *
+ */
+
+ OFF,
+ /** The wipers are automatically off after detecting the wipers do not need to be engaged (rain stopped, etc.).
+ *
+ */
+
+ AUTO_OFF,
+ /** Means that though set to off, somehow the wipers have been engaged (physically moved enough to engage a wiping motion).
+ *
+ */
+
+ OFF_MOVING,
+ /** The wipers are manually off after having been working.
+ *
+ */
+
+ MAN_INT_OFF,
+ /** The wipers are manually on.
+ *
+ */
+
+ MAN_INT_ON,
+ /** The wipers are manually set to low speed.
+ *
+ */
+
+ MAN_LOW,
+ /** The wipers are manually set to high speed.
+ *
+ */
+
+ MAN_HIGH,
+ /** The wipers are manually set for doing a flick.
+ *
+ */
+
+ MAN_FLICK,
+ /** The wipers are set to use the water from vehicle washer bottle for cleaning the windscreen.
+ *
+ */
+
+ WASH,
+ /** The wipers are automatically set to low speed.
+ *
+ */
+
+ AUTO_LOW,
+ /** The wipers are automatically set to high speed.
+ *
+ */
+
+ AUTO_HIGH,
+ /** This is for when a user has just initiated a WASH and several seconds later a secondary wipe is automatically initiated to clear remaining fluid
+ */
+
+ COURTESYWIPE,
+ /** This is set as the user moves between possible automatic wiper speeds.
+ *
+ */
+
+ AUTO_ADJUST,
+ /** The wiper is stalled to its place. There may be an obstruction.
+ *
+ */
+
+ STALLED,
+ /** The sensor / module cannot provide any information for wiper.
+ *
+ */
+
+ NO_DATA_EXISTS;
+ /**
+ * Convert String to WiperStatus
+ * @param value String
+ * @return WiperStatus
+ */
+
+ public static WiperStatus valueForString(String value) {
+ try{
+ return valueOf(value);
+ }catch(Exception e){
+ return null;
+ }
+ }
+}
|