Package 

Class ViewModel

  • All Implemented Interfaces:
    app.rive.runtime.kotlin.core.RefCount

    @OpenForTesting() 
    public final class ViewModel
    extends NativeObject
                        

    A description of a ViewModel in the Rive file. It can be used to retrieve property definitions at runtime. However, properties cannot be modified - that requires an instance. Use one of the createInstance methods to create an instance with mutable properties from this ViewModel.