struct

PassKit::Barcode

Inherits JSON::Serializable < Struct < Value < Object

Constants

AZTEC = BarcodeFormat::PKBarcodeFormatAztec
CODE128 = BarcodeFormat::PKBarcodeFormatCode128
PDF417 = BarcodeFormat::PKBarcodeFormatPDF417
QR = BarcodeFormat::PKBarcodeFormatQR

shortcut constants

Constructors

new(format : PassKit::BarcodeFormat, message : String, message_encoding : String, alt_text : Nil | String = nil)
Source
new(pull : JSON::PullParser)
Source
new(attributes : BarcodeTuple)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

alt_text
Source
alt_text=(alt_text : String | Nil)
Source
format
Source
format=(format : BarcodeFormat)
Source
message
Source
message=(message : String)
Source
message_encoding
Source
message_encoding=(message_encoding : String)
Source