@Namespace(value="libfreenect2") @Properties(inherit=freenect2.class) public class FrameListener extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FrameListener(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onNewFrame(int type,
Frame frame)
libfreenect2 calls this function when a new frame is decoded.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FrameListener(Pointer p)
Pointer(Pointer)
.@Cast(value="bool") public boolean onNewFrame(@Cast(value="libfreenect2::Frame::Type") int type, Frame frame)
type
- Type of the new frame.frame
- Data of the frame.Copyright © 2023. All rights reserved.