Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public abstract class

EGLObjectHandle

extends Object
java.lang.Object
   ↳ android.opengl.EGLObjectHandle
Known Direct Subclasses

Class Overview

Base class for wrapped EGL objects.

Summary

Protected Constructors
EGLObjectHandle (int handle)
Public Methods
int getHandle ()
Returns the native handle of the wrapped EGL object.
int hashCode ()
Returns an integer hash code for this object.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected EGLObjectHandle (int handle)

Public Methods

public int getHandle ()

Returns the native handle of the wrapped EGL object. This handle can be cast to the corresponding native type on the native side. For example, EGLDisplay dpy = (EGLDisplay)handle;

Returns
  • the native handle of the wrapped EGL object.

public int hashCode ()

Returns an integer hash code for this object. By contract, any two objects for which equals(Object) returns true must return the same hash code value. This means that subclasses of Object usually override both methods or neither method.

Note that hash values must not change over time unless information used in equals comparisons also changes.

See Writing a correct hashCode method if you intend implementing your own hashCode method.

Returns
  • this object's hash code.