ReaderAction

public struct ReaderAction : Codable

Reader action available on a reader

  • The name of the action (for example: “Arm”)

    Declaration

    Swift

    public let name: String
  • id

    The internal id of the action (for example: 1)

    Declaration

    Swift

    public let id: UInt8
  • Create a new ReaderAction given the specified name and id

    Declaration

    Swift

    public init(name: String, id: UInt8)
  • A helper method mapping the reader action id to a user friendly enum

    Declaration

    Swift

    public var type: ReaderActionType { get }