- Qt 5.0
- Qt 5.0.0 Reference Documentation

# GlobalPresence QML Type

The GlobalPresence element provides aggregated presence information for a contact, synthesized or supplied by the backend. More...

Import Statement: | import QtContacts 5.0

- List of all members, including inherited members

## Properties

- customMessage : string
- imageUrl : url
- nickname : string
- state : enumeration
- stateText : string
- timestamp : date

## Detailed Description

GlobalPresence element contains the following field types:

- GlobalPresence.Timestamp
- GlobalPresence.Nickname
- GlobalPresence.State
- GlobalPresence.StateText
- GlobalPresence.ImageUrl
- GlobalPresence.CustomMessage

This element is part of the QtContacts module.

## Property Documentation

customMessage : string

This property holds the custom status message from the contact for the online account about which this detail stores presence information.

imageUrl : url

This property holds the last-known status image url of the contact for the online account about which this detail stores presence information.

nickname : string

This property holds the nickname value of the GlobalPresence.

state : enumeration

This property holds the presence state enumeration value.

- Presence.Unknown - Signifies that the presence state of the contact is not currently known (default).
- Presence.Available - Signifies that the contact is available.
- Presence.Hidden - Signifies that the contact is hidden.
- Presence.Busy - Signifies that the contact is busy.
- Presence.Away - Signifies that the contact is away.
- Presence.ExtendedAway - Signifies that the contact is away for an extended period of time.
- Presence.Offline - Signifies that the contact is offline.

stateText : string

This property holds the text corresponding to the current presence state.

timestamp : date

This property holds the timestamp value of the GlobalPresence.