Tizen HAL API  1.0
Bezel

The Bezel provides functions for controlling Bezel state.

Required Header

#include <hal-device-bezel.h>

Overview

The Bezel provides the way to control bezel state like hardware, software, vibration. There are bezel states like turn on/off, vibration intensity.

The Bezel functions provide bezel information including:

For more information on the Bezel features and the macros, see HAL Bezel programming guides and tutorials.

Typedefs

typedef struct
_hal_backend_device_bezel_funcs 
hal_backend_device_bezel_funcs
 Structure for Bezel functions.

Data Structure Documentation

struct _hal_backend_device_bezel_funcs

Structure for Bezel functions.

Since:
HAL_MODULE_DEVICE_BEZEL 1.0

Data Fields

int(* get_state )(hal_device_bezel_state_e *state)
int(* set_state )(hal_device_bezel_state_e state)
int(* get_sw_state )(hal_device_bezel_state_e *state)
int(* set_sw_state )(hal_device_bezel_state_e state)
int(* get_vib_state )(hal_device_bezel_vib_state_e *state)
int(* set_vib_state )(hal_device_bezel_vib_state_e state)

Field Documentation


Typedef Documentation

Structure for Bezel functions.

Since:
HAL_MODULE_DEVICE_BEZEL 1.0

Enumeration Type Documentation

Enumeration for Bezel state.

Since:
HAL_MODULE_DEVICE_BEZEL 1.0
Enumerator:
HAL_DEVICE_BEZEL_TURNOFF 

bezel state Turnoff

HAL_DEVICE_BEZEL_TURNON 

bezel state Turnon

Enumeration for Bezel vibration state.

Since:
HAL_MODULE_DEVICE_BEZEL 1.0
Enumerator:
HAL_DEVICE_BEZEL_VIB_NONE 

bezel vibration state None

HAL_DEVICE_BEZEL_VIB_LIGHT 

bezel vibration state Light

HAL_DEVICE_BEZEL_VIB_MEDIUM 

bezel vibration state Medium

HAL_DEVICE_BEZEL_VIB_STRONG 

bezel vibration state Strong