@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では発生しません)
        • permission_denied: ユーザーがポケットサインアプリに、ヘルスデータの利用許可をしていない
        • not_supported_type: iOSでtotalCalorieを利用しようとする場合に発生
        • not_supported: このアプリではヘルスデータ機能がサポートされていない