NativeObject

public class NativeObject

The ascendant of every native object.

Constructors

NativeObject

protected NativeObject(Pointer peer)

Constructs a NativeObject from a Pointer.

Parameters:
  • peer – The pointer pointing to the native peer.

Methods

getPeer

public final Pointer getPeer()

Returns the native pointer.

Returns:The pointer

getPeerPointer

public final long getPeerPointer()

Returns the native pointer’s peer or 0.

Returns:the pointer’s peer or 0