Gjsify LogoGjsify Logo

Structure specifying a supported presence status.

In addition to the fields documented here, there are two gpointer fields which must currently be %NULL. A meaning may be defined for these in a future version of telepathy-glib.

record

Hierarchy

  • PresenceStatusSpec

Index

Constructors

  • Parameters

    • name: string

      the name of the new presence status

    • type: ConnectionPresenceType

      the category into which this presence status falls

    • can_set_on_self: boolean

      %TRUE if the user can set this presence status on themselves

    • has_message: boolean

      %TRUE if this presence status is accompanied by an optional human-readable message

    Returns PresenceStatusSpec

Properties

name: string

String identifier of the presence status

field

An array of #TpPresenceStatusOptionalArgumentSpec structures representing the optional arguments for this status, terminated by a NULL name. If there are no optional arguments for a status, this can be NULL. In modern Telepathy connection managers, the only optional argument should be a string (type "s") named "message" on statuses that have an optional human-readable message. All other optional arguments are deprecated.

field
presence_type: ConnectionPresenceType

A type value, as specified by #TpConnectionPresenceType

field
self: boolean

Indicates if this status may be set on yourself

field
name: string

Methods

  • can_set_on_self(): boolean
  • free(): void
  • get_name(): string
  • has_message(): boolean
  • Parameters

    • name: string

      the name of the new presence status

    • type: ConnectionPresenceType

      the category into which this presence status falls

    • can_set_on_self: boolean

      %TRUE if the user can set this presence status on themselves

    • has_message: boolean

      %TRUE if this presence status is accompanied by an optional human-readable message

    Returns PresenceStatusSpec

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method