Gjsify LogoGjsify Logo

Hierarchy

  • ConnectionHoldHandlesCb

Callable

  • Signature of the callback called when tp_connection_hold_handles() succeeds or fails.

    On success, the caller has a reference to each handle in handles.

    Since telepathy-glib version 0.13.8, the handles will remain valid until connection becomes invalid (signalled by #TpProxy::invalidated). In earlier versions, they could be released with tp_connection_unref_handles().

    For convenience, the handle type and handles requested by the caller are passed through to this callback on success, so the caller does not have to include them in user_data.

    Parameters

    • connection: TelepathyGLib.Connection

      the connection

    • handle_type: HandleType

      the handle type that was passed to tp_connection_hold_handles()

    • n_handles: number

      the number of handles that were passed to tp_connection_hold_handles() on success, or 0 on failure

    • handles: number

      a copy of the array of n_handles handles that was passed to tp_connection_hold_handles() on success, or %NULL on failure

    • error: GLib.Error

      %NULL on success, or an error on failure

    • weak_object: GObject.Object

      the same object that was passed to tp_connection_hold_handles()

    Returns void

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