-
- All Implemented Interfaces:
-
app.rive.runtime.kotlin.core.RefCount
public final class BindableArtboard extends NativeObject
A BindableArtboard is an artboard reference that can be assigned to a ViewModelArtboardProperty. It should only be used for that purpose and cannot be used as a regular Artboard.
Instances of this class are created via File.createBindableArtboardByName or File.createDefaultBindableArtboard.
⚠️Important: This bindable artboard can outlive the File instance that created it, but in order to do so it has an extra reference count. You need to call release when you are done with it, otherwise it will leak memory.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final BooleanhasCppObjectprivate AtomicIntegerrefsprivate LongcppPointerprivate final List<RefCount>dependenciesprivate final IntegerrefCount
-
Constructor Summary
Constructors Constructor Description BindableArtboard(Long unsafeCppPointer)
-
Method Summary
Modifier and Type Method Description final StringgetName()final BooleangetHasCppObject()final AtomicIntegergetRefs()final UnitsetRefs(AtomicInteger refs)final LonggetCppPointer()final UnitsetCppPointer(Long cppPointer)final List<RefCount>getDependencies()IntegergetRefCount()UnitcppDelete(Long pointer)final StringcppName(Long pointer)-
-
Constructor Detail
-
BindableArtboard
BindableArtboard(Long unsafeCppPointer)
-
-
Method Detail
-
getHasCppObject
final Boolean getHasCppObject()
-
getRefs
final AtomicInteger getRefs()
-
setRefs
final Unit setRefs(AtomicInteger refs)
-
getCppPointer
final Long getCppPointer()
-
setCppPointer
final Unit setCppPointer(Long cppPointer)
-
getDependencies
final List<RefCount> getDependencies()
-
getRefCount
Integer getRefCount()
-
-
-
-