Presence

public struct Presence

This struct represents Presence info for a person

Since

3.10.0
  • The spaceId of the space, only applicable for 1-1 spaces.

    Since

    3.11.0

    Declaration

    Swift

    public private(set) var spaceId: String { get }
  • The contactId of the person

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var contactId: String { get }
  • The PresenceStatus of the person

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var status: PresenceStatus { get }
  • The custom status set by the person

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var customStatus: String { get }
  • The UTC time when the person was last active in milliseconds.

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var lastActiveTime: Date { get }
  • The expiry UTC time till when the status is valid, in case of status like DND, OutOfOffice, Quiet, Busy etc.

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var expiresTime: Date { get }