Kanzi 3.9.10
KanziView.State Enum Reference

KanziView java-side lifecycle state. More...

Public Attributes

 APPLICATION_CREATED
 ON_CREATE event has been received.
 
 APPLICATION_RUNNING
 Both a surface and ON_START event have been received.
 
 IDLE
 Starting state.
 
 START_RECEIVED
 ON_START event has been received without receiving a surface.
 
 SURFACE_RECEIVED
 Surface has been received without receiving ON_START event.
 

Detailed Description

KanziView java-side lifecycle state.

Kanzi combines the Activity lifecycle with Surface callbacks to form a custom lifecycle suitable for OpenGL applications.

Member Data Documentation

◆ APPLICATION_CREATED

APPLICATION_CREATED

ON_CREATE event has been received.

Native-side thread is started, but it will halt until ON_START event and a surface is received.

◆ APPLICATION_RUNNING

APPLICATION_RUNNING

Both a surface and ON_START event have been received.

Native-side thread running normally.

◆ IDLE

IDLE

Starting state.

Native-side thread is stopped.