MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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.