AppViewBackendManager is an interface that AppViewPlugin uses to access AppViewBackend. More...
Public Member Functions | |
AppViewBackend | acquireBackend (String backendName, AppViewController attachingController) |
Acquires a backend with the specified name. | |
void | releaseBackend (AppViewBackend backend, AppViewController detachingController) |
Releases a backend. | |
AppViewBackendManager is an interface that AppViewPlugin uses to access AppViewBackend.
AppViewBackend acquireBackend | ( | String | backendName, |
AppViewController | attachingController ) |
Acquires a backend with the specified name.
When the AppView node starts an external application, AppViewPlugin calls this method to acquire a backend for the AppView node. The external application outputs to the associated backend texture, that is rendered in the Kanzi UI scene as the AppView node.
backendName | Corresponds to the Name property of Virtual Display of the AppView node. |
attachingController | The AppViewController associated with the AppView node. AppViewBackend uses this controller object to notify the AppView node about changes in the state of the backend. |
void releaseBackend | ( | AppViewBackend | backend, |
AppViewController | detachingController ) |
Releases a backend.
AppViewPlugin calls this method to release a backend associated with an AppView node. When you call this function, the AppView node guarantees that it does not use the backend anymore. When required, this function cleans up the resources associated with the backend.
backend | The backend to release. |
detachingController | AppViewController that used the backend. |