> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/check-contactless-capability.md).

# 非接触対応を確認する

## 概要

このチェックはあなたのデバイスが **デジタルウォレットアプリケーション** が非接触決済に対応しているかどうかを確認するために実行します。

の後、呼び出してください。 **NFCウォレットSDK** 初期化の後、そして [ウォレットを登録する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/enroll-wallet.md) および **トークン化**.

{% hint style="info" %}
デバイスが非接触決済の対象でない場合、の非接触決済のエントリポイントを非表示にするか無効にしてください。 **エンドユーザーに**.
{% endhint %}

## SDK 統合

使用する `deviceEligibility` 次のパラメータで `contactlessPaymentEligibility`.

これらの結果を処理してください：

* `supported`：デバイスは非接触決済を行うことができます。
* `deviceNotSupported`：デバイスはNFCまたはHCEをサポートしていません。
* `systemNotEligible`：デバイスまたはApple IDがEEA（欧州経済領域）にありません。
* `iosVersionNotSupported`：デバイスは最低iOSバージョン（iOS 17.4）を満たしていません。

```swift
let contactlessEligibility = await TSHPay.shared.deviceEligibility.contactlessPaymentEligibility
            
switch contactlessEligibility {
  case .deviceNotSupported(let reason):
      // NFCまたはHCEのサポートがないため、デバイスは対象外です。
      break
  case .systemNotEligible:
      // デバイスまたはApple IDがEEAにないため、システムは対象外です。
      break
  case .iosVersionNotSupported(let currentVersion):
      // OSのバージョンが最低要件（iOS 17.4）を満たしていません。
      break
  case .supported:
      // デバイスは非接触決済を行うことができます。
      break
}
```

{% hint style="info" %}
このチェックは、を呼び出す前に実行してください。 [ウォレットを登録する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/enroll-wallet.md) および [カードをトークン化する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/tokenize-a-card.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/check-contactless-capability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
