device_changed_cb typedef
@brief Called when a device status is changed.
@details Each device callback has a different output param type. \n
So you need to check below output param before using this function. \n
callback enum output type \n
DEVICE_CALLBACK_BATTERY_CAPACITY int \n
DEVICE_CALLBACK_BATTERY_LEVEL int \n
DEVICE_CALLBACK_BATTERY_CHARGING bool \n
DEVICE_CALLBACK_DISPLAY_STATE int \n
DEVICE_CALLBACK_FLASH_BRIGHTNESS int
@since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
@remarks DEVICE_CALLBACK_FLASH_BRIGHTNESS callback invoked when user set flash brightness by using device_flash_set_brightness(). It does not work by camera flash operation. To register DEVICE_CALLBACK_FLASH_BRIGHTNESS callback, you need to declare the LED privilege (%http://tizen.org/privilege/led).
@paramout
type The device type to monitor
@paramout
value The changed value
@paramout
user_data The user data passed from the callback registration function
Implementation
typedef device_changed_cb
= ffi.Pointer<ffi.NativeFunction<device_changed_cbFunction>>;