StarterImpl QML Type
Single-instance application support backend. More...
| Import Statement: | import FluentUI.impl 1.0 |
Signals
- void handleDataChanged(string args)
Methods
- bool checkApplication(string appId)
- void init(string locale)
Detailed Description
The StarterImpl type provides the backend for enforcing single-instance application behavior. It checks whether another instance is already running and handles data communication between instances.
Signal Documentation
void handleDataChanged(string args)
Emitted when data is received from another application instance, containing the command-line args passed to that instance.
Note: The corresponding handler is onHandleDataChanged.
Method Documentation
bool checkApplication(string appId)
Checks whether another instance of the application identified by appId is already running. Returns true if this is the first instance.
void init(string locale)
Initializes the starter with the given locale for application startup.
See also checkApplication().