Android
android.view
public class

android.view.SurfaceSession

java.lang.Object
android.view.SurfaceSession

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.

Summary

Public Constructors

            SurfaceSession()
Create a new connection with the surface flinger.

Public Methods

          void  kill()
Forcibly detach native resources associated with this object.

Protected Methods

          void  finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver.
Methods inherited from class java.lang.Object

Details

Public Constructors

public SurfaceSession()

Create a new connection with the surface flinger.

Public Methods

public 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.

Protected Methods

protected void finalize()

Called by the virtual machine when there are no longer any (non-weak) references to the receiver. Subclasses can use this facility to guarantee that any associated resources are cleaned up before the receiver is garbage collected. Uncaught exceptions which are thrown during the running of the method cause it to terminate immediately, but are otherwise ignored.

Note: The virtual machine assumes that the implementation in class Object is empty.

Throws

Throwable
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48