createDefaultBindableArtboard

Create the default BindableArtboard, as marked in the Rive file. This is can then be bound to a ViewModelArtboardProperty.

⚠️ Important: The bindable artboard can outlive this File instance, but in order to do so it has an extra reference count. You need to call BindableArtboard.release when you are done with it, otherwise it will leak memory.

Return

A new BindableArtboard instance.

Parameters

viewModelInstance

The view model instance to apply to the artboard when bound.

Throws

If no default artboard exists.