LWKActionDelegate

public protocol LWKActionDelegate : AnyObject

A protocol used to listen for LWKAction end events.

After implementing the protocol, assign LWKAction.delegate to be notified for end events.

  • A callback for when an LWKAction ends.

    Declaration

    Swift

    func actionDidEnd(_ action: LWKAction, finished: Bool)

    Parameters

    action

    The action that ended.

    finished

    A flag that specifies wether the action successfully ran to completion or was interupted or otherwise failed to run.