Enumerations
The following enumerations are available globally.
-
The type that indicates the outcome of performing an action
See moreDeclaration
Swift
public enum ActionOutcome : Equatable
-
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 moreDeclaration
Swift
public enum ActionPerformOutcome : CustomStringConvertible
-
The source of an action.
See moreDeclaration
Swift
public enum ActionSource
-
Undocumented
See moreDeclaration
Swift
public enum ActivityExecutionError : Error
-
The type for determining what kind of
See moreNSUserActivity
eligibility should be expose when publishing activities.Declaration
Swift
public enum ActivityEligibility
-
This type indicates what caused the continuation of an
See moreNSUserActivity
in the app. This is passed in thesource
of an Action’scontext
so the receiver can tell under what conditions it was invoked if performed as a result of a continuation.Declaration
Swift
public enum ActivityType
-
Errors that can be returned or thrown by code that performs actions
See moreDeclaration
Swift
public enum ActionPerformError : Error
-
An enum used to indicate how the availability of a feature is determined.
To actually test if the feature is currently available, use
See moreConditionalFeatureDefinition.isAvailable
, which must perform the logic to implement this availabilityDeclaration
Swift
public enum FeatureAvailability
-
This type represents the current status of a single constraint on a feature, after evaluation by the
See moreFeatureConstraintsEvaluator
.Declaration
Swift
public enum FeatureConstraintStatus : Hashable
-
Undocumented
See moreDeclaration
Swift
public enum ContactsEntity
-
An enum describing the nature of location monitoring
See moreDeclaration
Swift
public enum LocationUsage
-
Undocumented
See moreDeclaration
Swift
public enum PermissionAuthorisationCoordinatorVeto
-
Defines a system permission that conditional features can use as a constraint.
Note
Any associated values for permission variants must use Flint or foundation types because we cannot have permissions force dependency on any given framework.
See
Apple’s document on user privacy for details of authorisations available https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy
Declaration
Swift
public enum SystemPermissionConstraint : Hashable, CustomStringConvertible
-
The type used to describe what to do with the current permission request during an authorisation controller flow. Your
See morePermissionAuthorisationCoordinator
passes these values to the completion handler ofwillRequestPermission(:completion:)
to indicate what the controller should do next.Declaration
Swift
public enum SystemPermissionRequestAction
-
Permissions required by features can be in a variety of states, this encapsulates those aacross all the different permission types
See moreDeclaration
Swift
public enum SystemPermissionStatus
-
Enum defining all the platforms that are supported, and whether we are currently executing on them.
See moreDeclaration
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. (
See more10.13.2
)Declaration
Swift
public enum PlatformVersionConstraint : Hashable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral
-
Defines the list of possible feature preconditions
See moreDeclaration
Swift
public enum FeaturePreconditionConstraint : Hashable, CustomStringConvertible
-
Options for the report export.
See moreDeclaration
Swift
public enum DebugReportOption
-
The Flint logging system’s levels.
See moreDeclaration
Swift
public enum LoggerLevel : Int, CustomStringConvertible
-
Result type for functions that attempt to perform actions that are mapped either from URLs or activitys or Intents.
See moreDeclaration
Swift
public enum MappedActionResult : Equatable
-
Indicates the result of a presentation request.
See moreDeclaration
Swift
public enum PresentationResult<PresenterType>
-
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
See morecontext
part, e.g.x-hobson
orhobsonapp.com
Declaration
Swift
public enum RouteScope : Hashable, CustomDebugStringConvertible
-
Declaration
Swift
public enum CompressionMethod : UInt16