Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Overview

Represents a Light on the network.

As a sub-class of Device, it inherits everything from that interface, as well as providing convenience methods for interacting with Lights.

API

on()

Usage

...

Parameters

None.

Returns

Return TypeDescription


Examples

Code Block
languagejava
...

off()

Usage

...

Parameters

None.

Returns

Return TypeDescription


Examples

Code Block
languagejava
...

readLevel()

Usage

...

Parameters

None.

Returns

Return TypeDescription


Examples

Code Block
languagejava
...

moveToLevel(int levelPercentage)

Usage

...

Parameters

NameTypeDescription
levelPercentageint

Returns

Return TypeDescription


Examples

Code Block
languagejava
...

moveToLevel(int levelPercentage, int transitionTime)

Usage

...

Parameters

NameTypeDescription
levelPercentageint
transitionTimeint

Returns

Return TypeDescription


Examples

Code Block
languagejava
...

getDeviceType()

Usage

...

Parameters

None.

Returns

Return TypeDescription


Examples

Code Block
languagejava
...