Enumerations

The following enumerations are available globally.

  • The type that indicates the outcome of performing an action.

    Actions use this result type to indicate whether or not the current action stack should be closed, indicating the end of a sequence of action usage for a given feature.

    See more

    Declaration

    Swift

    public enum ActionPerformOutcome : CustomStringConvertible
  • The type for determining what kind of NSUserActivity eligibility should be expose when publishing activities.

    See more

    Declaration

    Swift

    public enum ActivityEligibility
  • This type indicates what caused the continuation of an NSUserActivity in the app. This is passed in the source of an Action’s context so the receiver can tell under what conditions it was invoked if performed as a result of a continuation.

    See more

    Declaration

    Swift

    public enum ActivityType
  • Permissions required by features can be in a variety of states, this encapsulates those aacross all the different permission types

    See more

    Declaration

    Swift

    public enum SystemPermissionStatus
  • Enum defining all the platforms that are supported, and whether we are currently executing on them.

    See more

    Declaration

    Swift

    public enum Platform : Hashable, Equatable
  • Defines a single constraint, restricting to a specific version.

    Supports initialising from an Int (e.g. 11) and String e.g. (10.13.2)

    See more

    Declaration

    Swift

    public enum PlatformVersionConstraint : Hashable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral
  • Result type for functions that attempt to perform actions that are mapped either from URLs or activitys or Intents.

    See more

    Declaration

    Swift

    public enum MappedActionResult : Equatable
  • A type representing a single URL scope.

    URL scopes can be for application custom schemes e.g. x-hobson://something, or universal linking / associated domains, of the form https://hobsonapp.com/something. The scope is just the context part, e.g. x-hobson or hobsonapp.com

    See more

    Declaration

    Swift

    public enum RouteScope : Hashable, CustomDebugStringConvertible