10
Vibe and Backlight API
Sample of code for calling of 'flashBacklight(int)' method of Display class:
int duration = 30000;// 30 seconds;
java.lang.boolean returnValue =
display.flashBacklight(duration);
if (returnValue != false) {
System.out.println("Invoke flashBacklight method with
parameter = " + duration
returnValue);
}
else {
System.out.println("Failed: invoke flashBacklight(" +
duration + "), method returns false");
}
39
+ ", method returns : " +