le_sup_ctrl_interface.h
Go to the documentation of this file.
80 //--------------------------------------------------------------------------------------------------83 * Connect the current client thread to the service providing this API. Block until the service is87 * called before any other functions in this API. Normally, ConnectService is automatically called92 //--------------------------------------------------------------------------------------------------98 //--------------------------------------------------------------------------------------------------101 * Try to connect the current client thread to the service providing this API. Return with an error104 * For each thread that wants to use this API, either ConnectService or TryConnectService must be105 * called before any other functions in this API. Normally, ConnectService is automatically called112 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.113 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------128 * longer a connection to the service, and the functions in this API can't be used. For details, see133 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------le_result_t le_sup_ctrl_StartApp(const char *appName)void le_sup_ctrl_DisconnectService(void)le_result_t le_sup_ctrl_StopLegato(void)le_result_t le_sup_ctrl_RestartLegato(bool manualRestart)void le_sup_ctrl_ConnectService(void)le_result_t le_sup_ctrl_StopApp(const char *appName)le_result_t le_sup_ctrl_TryConnectService(void)