Ultralight C++ API 1.3.0
Loading...
Searching...
No Matches
ultralight::Session Class Referenceabstract

#include <Ultralight/Session.h>

Details

Storage for browsing data (cookies, local storage, etc.) optionally persisted to disk.

See also
Renderer::CreateSession
Inheritance diagram for ultralight::Session:
ultralight::RefCounted

Public Member Functions

virtual bool is_persistent () const =0
 Whether or not this session is written to disk.
 
virtual String name () const =0
 A unique name identifying this session.
 
virtual uint64_t id () const =0
 A unique numeric ID identifying this session.
 
virtual String disk_path () const =0
 The disk path of this session (only valid for persistent sessions).
 
- Public Member Functions inherited from ultralight::RefCounted
virtual void AddRef () const =0
 
virtual void Release () const =0
 
virtual int ref_count () const =0
 

Protected Member Functions

virtual ~Session ()
 
- Protected Member Functions inherited from ultralight::RefCounted
virtual ~RefCounted ()
 

Constructor & Destructor Documentation

◆ ~Session()

virtual ultralight::Session::~Session ( )
protectedvirtual

Member Function Documentation

◆ disk_path()

virtual String ultralight::Session::disk_path ( ) const
pure virtual

The disk path of this session (only valid for persistent sessions).

◆ id()

virtual uint64_t ultralight::Session::id ( ) const
pure virtual

A unique numeric ID identifying this session.

◆ is_persistent()

virtual bool ultralight::Session::is_persistent ( ) const
pure virtual

Whether or not this session is written to disk.

◆ name()

virtual String ultralight::Session::name ( ) const
pure virtual

A unique name identifying this session.


The documentation for this class was generated from the following file: