MLKitBarcodeScanning 架構參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
MLKBarcodeEmail
@interface MLKBarcodeEmail : NSObject
來自「mailTO:」或類似 QR code 類型的電子郵件。
-
聲明
Objective-C
@property (nonatomic, readonly, nullable) NSString *address;
-
聲明
Objective-C
@property (nonatomic, readonly, nullable) NSString *body;
-
聲明
Objective-C
@property (nonatomic, readonly, nullable) NSString *subject;
-
-
聲明
Objective-C
- (nonnull instancetype)init;
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eMLKBarcodeEmail\u003c/code\u003e represents an email message extracted from a QR code, like those with "MAILTO:" links.\u003c/p\u003e\n"],["\u003cp\u003eIt provides read-only access to the email's address, body, subject, and type.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eaddress\u003c/code\u003e, \u003ccode\u003ebody\u003c/code\u003e, and \u003ccode\u003esubject\u003c/code\u003e are strings that can be null, while \u003ccode\u003etype\u003c/code\u003e is an enum defining the email type.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers cannot directly initialize \u003ccode\u003eMLKBarcodeEmail\u003c/code\u003e using \u003ccode\u003einit\u003c/code\u003e, it is likely obtained through barcode scanning results.\u003c/p\u003e\n"]]],["MLKBarcodeEmail is an Objective-C class representing an email message from a QR code. It contains properties for the email's `address`, `body`, `subject`, and `type`. These properties are read-only and can be null. The class also has an unavailable `init` method, meaning it cannot be directly instantiated through that specific method. It is designed to handle emails derived from 'MAILTO:' or similar QR Code types.\n"],null,[]]