FileDocCategorySizeDatePackage
SurfaceSession.javaAPI DocAndroid 1.5 API1484Wed May 06 22:41:56 BST 2009android.view

SurfaceSession

public 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 voiddestroy()

protected voidfinalize()

        destroy();
    
private native voidinit()

public native voidkill()
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.