Config.FlashMode

public static final enum Config.FlashMode

Selects the desired behavior of the camera flash subsystem. By default, the flash mode is set to OFF . See the documentation page for more information on using the device's flash.

Inherited Methods

Enum Values

OFF

 public 
  
 static 
  
 final 
  
 Config 
 . 
 FlashMode 
  
 OFF 

Flash is off.

This is the default mode.

TORCH

 public 
  
 static 
  
 final 
  
 Config 
 . 
 FlashMode 
  
 TORCH 

Flash is on.

Note, this mode has no effect if the device does not support flash.

Design a Mobile Site
View Site in Mobile | Classic
Share by: