FileDocCategorySizeDatePackage
Light.javaAPI DocAndroid 5.1 API1477Thu Mar 12 22:22:42 GMT 2015com.android.server.lights

Light

public abstract class Light extends Object

Fields Summary
public static final int
LIGHT_FLASH_NONE
public static final int
LIGHT_FLASH_TIMED
public static final int
LIGHT_FLASH_HARDWARE
public static final int
BRIGHTNESS_MODE_USER
Light brightness is managed by a user setting.
public static final int
BRIGHTNESS_MODE_SENSOR
Light brightness is managed by a light sensor.
Constructors Summary
Methods Summary
public abstract voidpulse()

public abstract voidpulse(int color, int onMS)

public abstract voidsetBrightness(int brightness)

public abstract voidsetBrightness(int brightness, int brightnessMode)

public abstract voidsetColor(int color)

public abstract voidsetFlashing(int color, int mode, int onMS, int offMS)

public abstract voidturnOff()