IntentServerHandler QML Type
A handler for intent requests received within the System UI. More...
Import Statement: | import QtApplicationManager.SystemUI 2.0 |
Inherits: |
Properties
- categories : list<string>
- icon : url
- names : object
- parameterMatch : object
- requiredCapabilities : list<string>
- visibility : enum
Detailed Description
If intents need to be handled from within the System UI, you need to have a corresponding IntentServerHandler instance that is actually able to handle incoming requests. This class gives you the flexibility to handle multiple, different intent ids via a single IntentServerHandler instance or have a dedicated IntentServerHandler instance for every intent id (or any combination of those).
Note: For handling intent requests within an application, you have to use the application side component IntentHandler, which works the same way, but provides all the necessary meta-data in the application's info.yaml manifest file.
For more information see IntentHandler and the description of the meta-data in the manifest documentation.
Callbacks connected to the onRequestReceived signal have access to the sender's application ID. Due to security restrictions, this is not the case for such handlers implemented in an application context via IntentHandler.
Property Documentation
The intent's categories - see the manifest documentation for more details.
Note: Any changes to this property after component completion will have no effect.
The intent's icon - see the manifest documentation for more details.
Note: Any changes to this property after component completion will have no effect.
The intent's name - see the manifest documentation for more details.
Note: Any changes to this property after component completion will have no effect.
The intent's parameter requirements - see the manifest documentation for more details.
Note: Any changes to this property after component completion will have no effect.
The intent's required capabilities - see the manifest documentation for more details.
Note: Any changes to this property after component completion will have no effect.
The intent's visibility - see the manifest documentation for more details. Can be either IntentObject.Public
or IntentObject.Private
(the default).
Note: Any changes to this property after component completion will have no effect.