Ubuntu.OnlineAccounts.ApplicationModel
A model of the applications using online accounts. More...
| Import Statement: | import Ubuntu.OnlineAccounts 0.1 |
Properties
Methods
- variant get(int row, string roleName)
Detailed Description
The ApplicationModel is a model representing the applications using online accounts installed on the system.
In the current implementation, the model is valid only if its ApplicationModel::service property is set to a valid service ID.
The model defines the following roles:
applicationIdis the unique identifier of the applicationdisplayNameis the application display nameiconNameis the name of the application iconserviceUsageis a description of how the application uses the service; this is set to a valid value only if the ApplicationModel::service property is set to a valid service ID.applicationis the Application objecttranslations, the localization domain for translating theserviceUsagefield
Property Documentation
count : int |
The number of items in the model.
service : string |
If set, the model will list only those applications which can use this specific service.
Method Documentation
variant get(int row, string roleName) |
Returns the data at row for the role roleName.