-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class AudioAsset extends Asset<AudioHandle>
An audio asset, representing a playable sound, managed by a RiveWorker.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAudioAsset.Companion
-
Field Summary
Fields Modifier and Type Field Description private final AudioHandlehandle
-
Constructor Summary
Constructors Constructor Description AudioAsset(AudioHandle handle, CommandQueue worker)
-
Method Summary
Modifier and Type Method Description final AudioHandlegetHandle()-
-
Constructor Detail
-
AudioAsset
AudioAsset(AudioHandle handle, CommandQueue worker)
- Parameters:
handle- The handle to the audio on the command server.worker- The Rive worker that owns the audio.
-
-
Method Detail
-
getHandle
final AudioHandle getHandle()
-
-
-
-