-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class Listeners implements AutoCloseable
Holds the native pointers to the listeners used by the CommandQueue. Android uses only one listener of each type to simplify lifetime management. This is as opposed to a listener for each handle.
This class is constructed from C++.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongfileListenerprivate final LongartboardListenerprivate final LongstateMachineListenerprivate final LongviewModelInstanceListenerprivate final LongimageListenerprivate final LongaudioListenerprivate final LongfontListener
-
Method Summary
Modifier and Type Method Description final LonggetFileListener()final LonggetArtboardListener()final LonggetStateMachineListener()final LonggetViewModelInstanceListener()final LonggetImageListener()final LonggetAudioListener()final LonggetFontListener()Unitclose()Dispose of the listeners and free their resources. -
-
Method Detail
-
getFileListener
final Long getFileListener()
-
getArtboardListener
final Long getArtboardListener()
-
getStateMachineListener
final Long getStateMachineListener()
-
getViewModelInstanceListener
final Long getViewModelInstanceListener()
-
getImageListener
final Long getImageListener()
-
getAudioListener
final Long getAudioListener()
-
getFontListener
final Long getFontListener()
-
-
-
-