SDL_Android/SmartDeviceLinkAndroidProxy - added the correct version of the proxy
[profile/ivi/smartdevicelink.git] / SDL_Android / SmartDeviceLinkProxyAndroid / src / com / smartdevicelink / proxy / rpc / enums / ButtonEventMode.java
index 7a75345..46ab6d0 100755 (executable)
@@ -1,13 +1,31 @@
-//
-// Copyright (c) 2013 Ford Motor Company
-//
-package com.smartdevicelink.proxy.rpc.enums;
-
-public enum ButtonEventMode {
-    BUTTONUP,
-    BUTTONDOWN;
-
-    public static ButtonEventMode valueForString(String value) {
-        return valueOf(value);
-    }
-}
+package com.smartdevicelink.proxy.rpc.enums;\r
+\r
+/**\r
+ * Indicates whether the button was depressed or released. A BUTTONUP event will\r
+ * always be preceded by a BUTTONDOWN event\r
+ * <p>\r
+ * \r
+ * @since SmartDeviceLink 1.0\r
+ */\r
+public enum ButtonEventMode {\r
+       /**\r
+        * The button was released\r
+        */\r
+       BUTTONUP,\r
+       /**\r
+        * The button was depressed\r
+        */\r
+       BUTTONDOWN;\r
+\r
+       /**\r
+        * Returns a ButtonEventMode (BUTTONUP or BUTTONDOWN)\r
+        * \r
+        * @param value\r
+        *            a String\r
+        * @return ButtonEventMode -BUTTONUP or BUTTONDOWN\r
+        */\r
+\r
+    public static ButtonEventMode valueForString(String value) {\r
+        return valueOf(value);\r
+    }\r
+}\r