AppView 0.8.2
AppViewBackendManager Interface Reference

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.
 

Detailed Description

AppViewBackendManager is an interface that AppViewPlugin uses to access AppViewBackend.

Member Function Documentation

◆ acquireBackend()

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.

Parameters
backendNameCorresponds to the Name property of Virtual Display of the AppView node.
attachingControllerThe AppViewController associated with the AppView node. AppViewBackend uses this controller object to notify the AppView node about changes in the state of the backend.
Returns
The backend for the specified backendName.

◆ releaseBackend()

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.

Parameters
backendThe backend to release.
detachingControllerAppViewController that used the backend.