Package org.lwjgl.util.opus
Class OPEPacketFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPEPacketFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPEPacketFuncI
public abstract class OPEPacketFunc extends org.lwjgl.system.Callback implements OPEPacketFuncI
Instances of this class may be set withSET_PACKET_CALLBACK_REQUEST.Type
void (*OPEPacketFuncI.invoke(long, long, int, int)) ( void *user_data, unsigned char const *packet_ptr, opus_int32 packet_len, opus_uint32 flags )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPEPacketFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPEPacketFunccreate(long functionPointer)Creates aOPEPacketFuncinstance from the specified function pointer.static OPEPacketFunccreate(OPEPacketFuncI instance)Creates aOPEPacketFuncinstance that delegates to the specifiedOPEPacketFuncIinstance.static OPEPacketFunccreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.util.opus.OPEPacketFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPEPacketFunc create(long functionPointer)
Creates aOPEPacketFuncinstance from the specified function pointer.- Returns:
- the new
OPEPacketFunc
-
createSafe
@Nullable public static OPEPacketFunc createSafe(long functionPointer)
-
create
public static OPEPacketFunc create(OPEPacketFuncI instance)
Creates aOPEPacketFuncinstance that delegates to the specifiedOPEPacketFuncIinstance.
-
-