Kanzi 3.9.10
KanziRuntime.Reference Class Reference

Manages the lifetime of the com.rightware.kanzi.KanziRuntime in one process. More...

Inheritance diagram for KanziRuntime.Reference:
[legend]

Public Member Functions

void close ()
 Releases this Reference to the com.rightware.kanzi.KanziRuntime.
 
KanziRuntime get ()
 Returns the com.rightware.kanzi.KanziRuntime instance that this Reference owns.
 

Protected Attributes

Graveyard.PhantomRef mPhantomRef
 

Detailed Description

Manages the lifetime of the com.rightware.kanzi.KanziRuntime in one process.

Each instance holds a Reference to the com.rightware.kanzi.KanziRuntime. When an application releases or closes all References, Kanzi unloads KanziRuntime from memory.

Member Function Documentation

◆ get()

KanziRuntime get ( )

Returns the com.rightware.kanzi.KanziRuntime instance that this Reference owns.

Returns
The com.rightware.kanzi.KanziRuntime instance that this Reference owns.