app_control_cb typedef

@brief Called when another application sends a launch request to the application. @details When the application is launched, this callback function is called after the main loop of the application starts up. The passed app_control handle describes the launch request and contains the information about why the application is launched. If the launch request is sent to the application in the running or pause state, this callback function can be called again to notify that the application has been asked to launch. The application could be explicitly launched by the user from the application launcher or be launched to perform the specific operation by another application. The application is responsible for handling each launch request and responding appropriately. Using the App Control API, the application can get information about what is to be performed. If the application is launched from the application launcher or explicitly launched by another application, the passed app_control handle may include only the default operation (#APP_CONTROL_OPERATION_DEFAULT) without any data. For more information, see The @ref CAPI_APP_CONTROL_MODULE API description. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif @remarks After this callback returns, the handle of the app_control is freed. Therefore, if you want to use the handle after returning this callback, you MUST copy it by using app_control_clone() API. @paramin app_control The handle to the app_control @paramin user_data The user data passed from the callback registration function @see ui_app_main() @see #ui_app_lifecycle_callback_s @see @ref CAPI_APP_CONTROL_MODULE API

Implementation

typedef app_control_cb
    = ffi.Pointer<ffi.NativeFunction<app_control_cbFunction>>;