-//
-// Copyright (c) 2013 Ford Motor Company
-//
-package com.smartdevicelink.proxy.rpc.enums;
-
-public enum ButtonPressMode {
- LONG,
- SHORT;
-
- public static ButtonPressMode valueForString(String value) {
- return valueOf(value);
- }
-}
+package com.smartdevicelink.proxy.rpc.enums;\r
+\r
+/**\r
+ * Indicates whether this is a LONG or SHORT button press\r
+ * <p>\r
+ * \r
+ * @since SmartDeviceLink 1.0\r
+ */\r
+public enum ButtonPressMode {\r
+ /**\r
+ * The button has been depressed for 2 seconds. The button may remain\r
+ * depressed after receiving this event\r
+ */\r
+ LONG,\r
+ /**\r
+ * The button was released before the 2-second long-press interval had\r
+ * elapsed\r
+ */\r
+ SHORT;\r
+ /**\r
+ * Returns a ButtonPressMode (LONG or SHORT)\r
+ * \r
+ * @param value\r
+ * a String\r
+ * @return ButtonPressMode -LONG or SHORT\r
+ */\r
+\r
+ public static ButtonPressMode valueForString(String value) {\r
+ return valueOf(value);\r
+ }\r
+}\r