An interface to listen for state changes in a view associated with Kanzi through KanziViewAdapter.
More...
An interface to listen for state changes in a view associated with Kanzi through KanziViewAdapter.
| void onAttachedToWindow |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
Called when the view is attached to a window.
- Parameters
-
| view | View that was attached. |
| domain | Domain associated with the view. |
| void onDetachedFromWindow |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
Called when the view is detached from a window.
- Parameters
-
| view | View that was detached. |
| domain | Domain associated with the view. |
| void onStartupPrefabLoaded |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
Called when the startup prefab is loaded and content is accessible.
- Parameters
-
| view | View that owns the loaded prefab. |
| domain | Domain associated with the view. |
| void onSurfaceChanged |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
This is called immediately after any structural changes (format or size) have been made to the surface.
- Parameters
-
| view | View that owns the changed surface. |
| domain | Domain associated with the view. |
| void onSurfaceCreated |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
Called when the view has an output surface.
- Parameters
-
| view | View that owns the created surface. |
| domain | Domain associated with the view. |
| void onSurfaceDestroyed |
( |
View |
view, |
|
|
Domain |
domain |
|
) |
| |
This is called immediately before a surface is being destroyed.
- Parameters
-
| view | View that owns the destroyed surface. |
| domain | Domain associated with the view. |