public abstract class ModBacklight extends Object
An application does not instantiate this class directly; instead, an application needs to retrieve a ModBacklight instance through
ModManager.getClassManager(device, ModBacklight.class)
.
Constructor and Description |
---|
ModBacklight()
The constructor for the ModBacklight class.
|
Modifier and Type | Method and Description |
---|---|
abstract byte |
getModBacklightBrightness()
A method to get the brightness of the Moto Mod which exposes a backlight control.
|
abstract boolean |
setModBacklightBrightness(byte value)
A method to set the brightness of the Moto Mod which exposes a a backlight control.
|
public abstract boolean setModBacklightBrightness(byte value)
value
- a value in the [0-255] rangepublic abstract byte getModBacklightBrightness()
(c) 2016 Motorola Mobility LLC. All Rights Reserved
MOTOROLA and the Stylized M Logo are registered trademarks of Motorola Trademark Holdings, LLC
Android, Google, Google Play, Nexus and other marks are trademarks of Google Inc.