サポートされるNFC機能
Qt NFC は、データの読み取りと書き込みに 2 つのオプションを提供します。これらのオプションは enum に反映されています。AccessMethod
- NdefAccess - () および () を使った NDEF メッセージの使用。readNdefMessages writeNdefMessages
- TagTypeSpecificAccess - () を使用してカスタム・コマンドを送信し、 () を使用して結果を取得する。sendCommand requestResponse
TagTypeSpecificAccess を使用してカスタム・コマンドを送信し、() を使用して結果を取得する。この場合、ユーザーはNFC タグ・タイプに応じて異なるデー タを送信する必要があります。によって認識されるタグ・タイプは 列挙型で定義されます。Qt NFC Type
Qt NFC 異なるアクセス方法とタグ・タイプのサポートはプラットフォームによって異なります。以下の表は、各プラットフォームで現在サポートされている機能のサブセットを示しています。
プラットフォーム | 認識されるタグタイプ | NDEFサポート | タグ固有のアクセス |
---|---|---|---|
アンドロイド | すべてType enumから | Yes | Yes |
iOS | いいえ | はい - サポートされているタグタイプ | |
Linux、Windows、macOS (PC/SCを使用して実装) | 対応NfcTagType4 | 対応ProprietaryTag |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.