WAHelperAction

public enum WAHelperAction : Equatable

Helper action for writing assistant. This is used to trigger extra actions in the writing assistant, such as retrying an operation, updating the text directly, or navigating to a different view.

  • N/A value, which means no action is needed.

    Declaration

    Swift

    case none
  • Retry action which can be used to retry the last operation.

    Declaration

    Swift

    case retry
  • Update action which can be used to update the text directly.

    Declaration

    Swift

    case update(String)
  • Navigate to a different view. The view can be any SwiftUI view.

    Declaration

    Swift

    case navigateTo(any View)