@pocketsign/in-app-sdk
    検索インデックスを準備しています...

    型エイリアス GetHealthDataAvailabilityToSdk

    GetHealthDataAvailabilityToSdk: { result: "success" } & (
        | { isAvailable: true }
        | {
            isAvailable: false;
            status:
                | "not_installed"
                | "permission_denied"
                | "not_supported_type"
                | "not_supported";
        }
    )

    型宣言

    • result: "success"
    • { isAvailable: true }
      • isAvailable: true

        指定したヘルスデータを利用できるかどうか

    • {
          isAvailable: false;
          status:
              | "not_installed"
              | "permission_denied"
              | "not_supported_type"
              | "not_supported";
      }
      • isAvailable: false

        指定したヘルスデータを利用できるかどうか

      • status: "not_installed" | "permission_denied" | "not_supported_type" | "not_supported"

        利用できない理由

        • not_installed: iOSでは端末のヘルスケア機能を利用できない、Androidではヘルスコネクトを利用できない
        • permission_denied: iOSではOSから権限要求が必要と判定された、Androidでは必要な読み取り権限が許可されていない
        • not_supported_type: 指定した種類がOSでサポートされていない(例: iOSのtotalCalorie
        • not_supported: 利用中のポケットサインアプリでヘルスデータ機能が無効になっている