Package 

Object RiveFile.Companion

    • Method Detail

      • fromSource

         final Result<RiveFile> fromSource(RiveFileSource source, CommandQueue commandQueue)

        Loads a RiveFile from the given source.

        The lifetime of the RiveFile is managed by the caller. Make sure to call close when you are done with the file to release its resources.

        Parameters:
        source - The source of the Rive file.
        commandQueue - The command queue that owns the file.