Package 

Class StateMachineKt

    • Method Summary

      Modifier and Type Method Description
      final static StateMachine rememberStateMachine(Artboard artboard, String stateMachineName) Creates a StateMachine from the given Artboard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • rememberStateMachine

        @Composable() final static StateMachine rememberStateMachine(Artboard artboard, String stateMachineName)

        Creates a StateMachine from the given Artboard.

        The lifetime of the state machine is managed by this composable. It will delete the state machine when it falls out of scope.

        Parameters:
        artboard - The Artboard to instantiate the state machine from.
        stateMachineName - The name of the state machine to load.