.. _org.freedesktop.impl.portal.Session:

===================================
 Session
===================================

-----------
Description
-----------

.. _org.freedesktop.impl.portal.Session Description:

Shared session interface

The Session interface is shared by all portal interfaces that involve
long lived sessions.  When a method that creates a session is called, the
reply will include a session handle (i.e. object path) for a Session
object, which will stay alive for the duration of the session.

The portal can abort the interaction by calling
`org.freedesktop.impl.portal.Session.Close`_ on the Session object.



.. _org.freedesktop.impl.portal.Session Properties:

----------
Properties
----------

.. _org.freedesktop.impl.portal.Session:version:

org.freedesktop.impl.portal.Session:version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    version readable u




.. _org.freedesktop.impl.portal.Session Methods:

-------
Methods
-------

.. _org.freedesktop.impl.portal.Session.Close:

org.freedesktop.impl.portal.Session.Close
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    Close ()


Close the session.




.. _org.freedesktop.impl.portal.Session Signals:

-------
Signals
-------

.. _org.freedesktop.impl.portal.Session::Closed:

org.freedesktop.impl.portal.Session::Closed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::

    Closed ()


The session was closed by the portal implementation.




