WIMM Labs


com.wimm.framework.watches
Enum BaseWatchView.UpdateResolution

java.lang.Object
  extended by java.lang.Enum<BaseWatchView.UpdateResolution>
      extended by com.wimm.framework.watches.BaseWatchView.UpdateResolution
All Implemented Interfaces:
Serializable, Comparable<BaseWatchView.UpdateResolution>
Enclosing class:
BaseWatchView

public static enum BaseWatchView.UpdateResolution
extends Enum<BaseWatchView.UpdateResolution>

Enum containing the String constants "SECOND" and "MINUTE". Used to determine the frequency in which the screen will be redrawn.

Note: See the Watchface Tutorial for more information about developing watchfaces.

Since:
WIMM SDK 1.0.0

Enum Constant Summary
MINUTE
           
SECOND
           
 
Method Summary
static BaseWatchView.UpdateResolution valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BaseWatchView.UpdateResolution[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SECOND

public static final BaseWatchView.UpdateResolution SECOND

MINUTE

public static final BaseWatchView.UpdateResolution MINUTE
Method Detail

values

public static BaseWatchView.UpdateResolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BaseWatchView.UpdateResolution c : BaseWatchView.UpdateResolution.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BaseWatchView.UpdateResolution valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

WIMM Labs