Package 

Class RiveFile


  • @Stable() 
    public final class RiveFile
    
                        

    A Rive file, which contains one or more artboards, state machines, and view model instances.

    A Rive file is created from the Rive editor, which is exported as a .riv file.

    The this object can be used to query the file for its contents, such as artboards names. It can then be passed to rememberArtboard to create an Artboard, and then to RiveUI for rendering.

    Queries are cached for performance.