QtMobility Reference Documentation

QML Presence Element

The Presence element provides presence information for an online account of a contact. More...

This element was introduced in Mobility 1.1.

Properties

Detailed Description

Presence element contains the following field types:

  • Presence.Timestamp
  • Presence.Nickname
  • Presence.State
  • Presence.StateText
  • Presence.ImageUrl
  • Presence.CustomMessage

This element is part of the QtMobility.contacts 1.1 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.

This property group was introduced in Mobility 1.1.


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.

This property group was introduced in Mobility 1.1.


nickname : string

This property holds the nickname value of the Presence.

This property group was introduced in Mobility 1.1.


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.

This property group was introduced in Mobility 1.1.


stateText : string

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

This property group was introduced in Mobility 1.1.


timestamp : date

This property holds the timestamp value of the Presence.

This property group was introduced in Mobility 1.1.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.