Tizen D.I.T

Flash

D.I.T

#include "Device/DeviceStatus.h"
#include "dit.h"

void Flash_use ()
{
    Flash flash = NewFlash ();
    // Flash 모듈 생성
    flash->On (flash);
    // Flash ON
    flash->Off (flash);
    // Flash OFF
    DestoryFlash (flash);
    // Flash 모듈 삭제
}

Native

#include <device/display.h>

void Flash_use ()
{
    int value;
    device_flash_get_max_brightness (&value);
    device_flash_set_brightness (value);
    // Flash ON
    device_flash_set_brightness (0);
    // Flash OFF
}