Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page

Sailfish Accounts

API Documentation
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Detailed Description

AccountModel QML Type

Provides a model of existing accounts More...

Import Statement: import Sailfish.Accounts 1.0
  • List of all members, including inherited members

Properties

  • filter : string
  • filterType : enumeration

Detailed Description

The AccountModel can be used to provide account data to a view. For each account in the database, it exposes the following roles:

  • accountId
  • accountDisplayName
  • accountIcon
  • providerName
  • providerDisplayName
  • providerValid
  • accountEnabled
  • accountError

Property Documentation

filter : string

If the filter value is set, the model will only present those accounts whose property associated with the filterType matches the given filter value.

For example, if filterType is set to AccountModel.ProviderFilter and filter is set to "facebook" then only accounts provided by the "facebook" provider will be presented in the model.


filterType : enumeration

Enables filtering of the accounts presented by the model according to the value of the property of the account associated with the given filter type.

Valid filter types are:

ConstantValue
AccountModel.NoFilter
AccountModel.ProviderFilter
AccountModel.ServiceFilter
AccountModel.ServiceTypeFilter
AccountModel.ProvisionedFilter

  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn