Tizen Native API
watch_app_lifecycle_callback_s Struct Reference

Public Attributes

watch_app_create_cb create
watch_app_control_cb app_control
watch_app_pause_cb pause
watch_app_resume_cb resume
watch_app_terminate_cb terminate
watch_app_time_tick_cb time_tick
watch_app_ambient_tick_cb ambient_tick
watch_app_ambient_changed_cb ambient_changed

Detailed Description

The structure type containing the set of callback functions for handling application events.

It is one of the input parameters of the watch_app_main() function.

Since :
2.3.1
See also:
watch_app_main()
watch_app_create_cb()
watch_app_control_cb()
watch_app_pause_cb()
watch_app_resume_cb()
watch_app_time_tick_cb()
watch_app_ambient_tick_cb()
watch_app_ambient_changed_cb()
watch_app_terminate_cb()

Member Data Documentation

This callback function is called when the device enters or exits ambient mode.

This callback function is called at each minute in ambient mode. Since 2.3.2, you can change the period of ambient tick by calling watch_app_set_ambient_tick_type()

This callback function is called when another application sends the launch request to the application.

This callback function is called at the start of the application.

This callback function is called each time the application is completely obscured by another application and becomes invisible to the user.

This callback function is called each time the application becomes visible to the user.

This callback function is called before the application exits.

This callback function is called at each second.