-
- All Implemented Interfaces:
-
app.rive.core.CheckableAutoCloseable,java.lang.AutoCloseable
public final class UniquePointer implements CheckableAutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUniquePointer.Companion
-
Constructor Summary
Constructors Constructor Description UniquePointer(Long cppPointer, String label, Function1<Long, Unit> onDispose)
-
Method Summary
-
-
Constructor Detail
-
UniquePointer
UniquePointer(Long cppPointer, String label, Function1<Long, Unit> onDispose)
- Parameters:
cppPointer- The native pointer address.label- A label for the object pointed to, used for logging purposes, e.g.onDispose- A callback invoked when the pointer is closed to clean up the native resource.
-
-
-
-