SDL_Android/SmartDeviceLinkAndroidProxy - added the correct version of the proxy
[profile/ivi/smartdevicelink.git] / SDL_Android / SmartDeviceLinkProxyAndroid / src / com / smartdevicelink / proxy / rpc / enums / UpdateMode.java
1 package com.smartdevicelink.proxy.rpc.enums;\r
2 \r
3 /**\r
4  * Specifies what function should be performed on the media clock/counter\r
5  * <p>\r
6  * \r
7  * @since SmartDeviceLink 1.0\r
8  */\r
9 public enum UpdateMode {\r
10         /**\r
11          * Starts the media clock timer counting upward, in increments of 1 second\r
12          */\r
13         COUNTUP,\r
14         /**\r
15          * Starts the media clock timer counting downward, in increments of 1 second\r
16          */\r
17         COUNTDOWN,\r
18         /**\r
19          * Pauses the media clock timer\r
20          */\r
21         PAUSE,\r
22         /**\r
23          * Resumes the media clock timer. The timer resumes counting in whatever\r
24          * mode was in effect before pausing (i.e. COUNTUP or COUNTDOWN)\r
25          */\r
26         RESUME,\r
27     CLEAR;\r
28 \r
29         \r
30         /**\r
31          * Returns an UpdateMode value (COUNTUP, COUNTDOWN, PAUSE or RESUME)\r
32          * @param value a String\r
33          * @return UpdateMode -COUNTUP, COUNTDOWN, PAUSE or RESUME\r
34          */\r
35     public static UpdateMode valueForString(String value) {\r
36         return valueOf(value);\r
37     }\r
38 }\r