Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Enum

Enum Class Reference

Constructors

Instance Methods

Constructors

new Enum()

Initializes an instance of Enum.

Instance Methods

enum.keyForValue(value)

A method for subclasses to implement that does what _keyForValue does

Kind: Instance method of Enum

ParamTypeDescription
value * A primitive value to find the matching key for in the map of the subclass

enum.valueForKey(key) ⇒ *

A method for subclasses to implement that does what _valueForKey does

Kind: Instance method of Enum
Returns: * - Returns a value if found, or null if not found

ParamTypeDescription
key * The key to find the value of.
View on GitHub.com
Previous Section Next Section