ActivityType

public enum ActivityType

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.

  • The activity came from a Spotlight search result being selected

    Declaration

    Swift

    case search
  • The activity came from a web browser

    Declaration

    Swift

    case browsingWeb
  • The activity came from ClassKit

    Declaration

    Swift

    case classKit
  • The activity is from a Siri Intent

    Declaration

    Swift

    case siri
  • The activity is assumed to come from Siri (suggestions/pro-active) or similar if no other indication is found in the activity

    Declaration

    Swift

    case other