SwiftenumWidgetKit

enum WidgetKit.AccessoryActivityAction.ActionType

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 6

  1. casecase default
  2. casecase intent(LNAction)
  3. casecase url(Foundation.URL)
  4. funcintentAction() throws -> LNAction
  5. funcurl() throws -> Foundation.URL
  6. varvar description: String { get }
enum WidgetKit.AccessoryActivityAction.ActionType {
    enum CodingKeys {
        case type
        case data
    }
    enum Errors {
        case badURLData(Foundation.Data)
        case badURLString(Swift.String)
        case unknownActionType
        case unexpectedActionType
        case lnActionNotFound
    }
    case url(Foundation.URL)
    case intent(__C.LNAction)
    case default

    var description: Swift.String {
        get
    }

    func intentAction() throws -> __C.LNAction
    func url() throws -> Foundation.URL
}