Motorola i325 Spezifikationen Seite 133

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 161
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 132
iDEN i325 J2ME™ Developers’ Guide
Page 133
2004 Motorola, Inc.
19. Lighting
19.1. Overview
The Lighting API lets a MIDlet turn on and off various lights on the phone.
19.2. Class Description
The API for the Lighting API is located in package com.mot.iden.multimedia
java.lang.Object
|
+ - com.mot.iden.multimedia.Lighting
19.3. Method Description
19.3.1. Lighting Methods
19.3.1.1. setLight
Sets the specified light to the specified state
public static void setLight(int light, int state)
throws IllegalStateException
The table below lists the valid values for light and state. Note that the valid values for state
depend on the value of light.
Table 14. Valid Values for light and state
Light State
LIGHT_DISPLAY LIGHT_STATE_ON
LIGHT_STATE_OFF
LIGHT_KEYPAD LIGHT_STATE_ON
LIGHT_STATE_OFF
LIGHT_STATUS LIGHT_STATE_OFF
LIGHT_STATE_RED
LIGHT_STATE_GREEN
LIGHT_STATE_AMBER
LIGHT_CALL_INDICATOR LIGHT_STATE_OFF
LIGHT_STATE_RED
LIGHT_STATE_GREEN
LIGHT_STATE_BLUE
LIGHT_STATE_YELLOW
LIGHT_STATE_MAGENTA
LIGHT_STATE_CYAN
LIGHT_STATE_WHITE
Seitenansicht 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 160 161

Kommentare zu diesen Handbüchern

Keine Kommentare