SurfaceSessionpublic class SurfaceSession extends Object An instance of this class represents a connection to the surface
flinger, in which you can create one or more Surface instances that will
be composited to the screen.
{@hide} |
Fields Summary |
---|
private int | mClient |
Constructors Summary |
---|
public SurfaceSession()Create a new connection with the surface flinger.
init();
|
Methods Summary |
---|
private native void | destroy()
| protected void | finalize()
destroy();
| private native void | init()
| public native void | kill()Forcibly detach native resources associated with this object.
Unlike destroy(), after this call any surfaces that were created
from the session will no longer work. The session itself is destroyed.
|
|