> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStore (API の内容)

> XStore

# XStore

XStore API のリファレンス資料。

購入可能なコンテンツの詳細、ダウンロード可能なコンテンツ パッケージの管理、ライセンス管理、ゲームの試用版など、コマース関連の機能をゲームに提供します。

## Functions

| 関数 | 説明 |
| - | - |
| [XStoreAcquireLicenseForDurablesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync.md) | 指定した永続製品のライセンスを取得します。 |
| [XStoreAcquireLicenseForDurablesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicensefordurablesresult.md) | [XStoreAcquireLicenseForDurablesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicensefordurablesasync.md) の呼び出し結果を取得します。 |
| [XStoreAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync.md) | ユーザーが使用する権利を持つゲームの DLC のライセンスを取得します。 |
| [XStoreAcquireLicenseForPackageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicenseforpackageresult.md) | [XStoreAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync.md) の呼び出し結果を取得します。 |
| [XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md) | DLC のプレビュー ライセンスを取得します。 |
| [XStoreCanAcquireLicenseForPackageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult.md) | [XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md) の呼び出し結果を取得します。 |
| [XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md) | コンテンツのプレビュー ライセンスを取得します。 |
| [XStoreCanAcquireLicenseForStoreIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md) | [XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md) の呼び出し結果を取得します。 |
| [XStoreCloseContextHandle](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreclosecontexthandle.md) | 指定したストア コンテキスト ハンドルを閉じます。 |
| [XStoreCloseLicenseHandle](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecloselicensehandle.md) | 指定したストア ライセンス ハンドルを閉じます。 |
| [XStoreCloseProductsQueryHandle](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md) | 指定したストア製品クエリ ハンドルを閉じます。 |
| [XStoreCreateContext](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecreatecontext.md) | 指定したユーザーのストア コンテキストを作成します。 |
| [XStoreDownloadAndInstallPackagesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackagesasync.md) | 指定したストア パッケージをダウンロードしてインストールします。 |
| [XStoreDownloadAndInstallPackagesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult.md) | [XStoreDownloadAndInstallPackagesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackagesasync.md) の呼び出し結果を取得します。 |
| [XStoreDownloadAndInstallPackagesResultCount](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackagesresultcount.md) | [XStoreDownloadAndInstallPackagesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult.md) によって返される結果内の項目数を取得します。 |
| [XStoreDownloadAndInstallPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesasync.md) | 指定したストア パッケージの更新をダウンロードしてインストールします。 |
| [XStoreDownloadAndInstallPackageUpdatesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesresult.md) | [XStoreDownloadAndInstallPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesasync.md) の呼び出し結果を取得します。 |
| [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md) | 指定したパッケージの更新をダウンロードします。 |
| [XStoreDownloadPackageUpdatesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadpackageupdatesresult.md) | [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md) の呼び出し結果を取得します。 |
| [XStoreEnumerateProductsQuery](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreenumerateproductsquery.md) | 製品クエリの結果を列挙します。 |
| [XStoreGameLicenseChangedCallback](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregamelicensechangedcallback.md) | ゲーム ライセンス変更イベントのゲーム定義コールバック。 |
| [XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetusercollectionsidasync.md) | 顧客コレクション ID を取得します。 |
| [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetusercollectionsidresult.md) | [XStoreGetUserCollectionsIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetusercollectionsidasync.md) の呼び出し結果を取得します。 |
| [XStoreGetUserCollectionsIdResultSize](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetusercollectionsidresultsize.md) | [XStoreGetUserCollectionsIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetusercollectionsidresult.md) によって返される ID のサイズを取得します。 |
| [XStoreGetUserPurchaseIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetuserpurchaseidasync.md) | 顧客購入 ID を取得します。 |
| [XStoreGetUserPurchaseIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetuserpurchaseidresult.md) | [XStoreGetUserPurchaseIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetuserpurchaseidasync.md) の呼び出し結果を取得します。 |
| [XStoreGetUserPurchaseIdResultSize](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetuserpurchaseidresultsize.md) | [XStoreGetUserPurchaseIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoregetuserpurchaseidresult.md) によって返される結果のサイズを取得します。 |
| [XStoreIsLicenseValid](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreislicensevalid.md) | 指定したライセンスが有効かどうかを確認します。 |
| [XStorePackageLicenseLostCallback](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorepackagelicenselostcallback.md) | ライセンス消失イベントのゲーム定義コールバック。 |
| [XStoreProductQueryCallback](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductquerycallback.md) | 製品クエリのゲーム定義コールバック。 |
| [XStoreProductsQueryHasMorePages](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md) | 指定したクエリにさらに結果ページがあるかどうかを確認します。 |
| [XStoreProductsQueryNextPageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageasync.md) | クエリ結果の次のページを取得します。 |
| [XStoreProductsQueryNextPageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md) | 製品クエリから結果の次のページを取得します。 |
| [XStoreQueryAddOnLicensesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesasync.md) | 現在実行中のゲームのビットを持たない永続製品に対してユーザーに付与されたライセンスを列挙します。 |
| [XStoreQueryAddOnLicensesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesresult.md) | XStoreQueryAddOnLicensesAsync の呼び出し結果を取得します。 |
| [XStoreQueryAddOnLicensesResultCount](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesresultcount.md) | [XStoreQueryAddonLicensesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryaddonlicensesasync.md) によって取得されたライセンス数を取得します。 |
| [XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md) | 現在のゲーム内から購入可能な製品のストア登録情報を取得します。 |
| [XStoreQueryAssociatedProductsForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md) | ストア ID で指定された製品から購入可能な製品のストア登録情報を取得します。 |
| [XStoreQueryAssociatedProductsForStoreIdResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidresult.md) | [XStoreQueryAssociatedProductsForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryAssociatedProductsResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md) | [XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryConsumableBalanceRemainingAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync.md) | 指定した製品 ID の消費型残高を取得します。 |
| [XStoreQueryConsumableBalanceRemainingResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingresult.md) | [XStoreQueryConsumableBalanceRemainingAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryconsumablebalanceremainingasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryentitledproductsasync.md) | ユーザーが購入した現在のゲームのすべてのアドオンに関するストア製品情報を提供します。 |
| [XStoreQueryEntitledProductsResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryentitledproductsresult.md) | [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryentitledproductsasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md) | 現在のパッケージのゲームおよびオプションの更新を取得します。 |
| [XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md) | [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryGameAndDlcPackageUpdatesResultCount](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresultcount.md) | [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md) によって取得された更新の数を取得します。 |
| [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygamelicenseasync.md) | ゲームを起動するために取得したライセンスに関する情報を取得します。 |
| [XStoreQueryGameLicenseResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygamelicenseresult.md) | [XStoreQueryGameLicenseAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerygamelicenseasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryLicenseTokenAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerylicensetokenasync.md) | 呼び出し元のゲームに、ゲームのサービスに渡して B2B 呼び出しを行うために使用できる不透明なトークンを提供します。 |
| [XStoreQueryLicenseTokenResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerylicensetokenresult.md) | [XStoreQueryLicenseTokenAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerylicensetokenasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryLicenseTokenResultSize](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerylicensetokenresultsize.md) | [XstoreQueryLicenseTokenResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerylicensetokenresult.md) によって返される結果のサイズを取得します。 |
| [XStoreQueryPackageIdentifier](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageidentifier.md) | 指定したストア ID のパッケージ識別子を取得します。 |
| [XStoreQueryPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesasync.md) | 指定したパッケージで利用可能な更新を取得します。 |
| [XStoreQueryPackageUpdatesResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesresult.md) | [XStoreQueryPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryPackageUpdatesResultCount](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesresultcount.md) | [XStoreQueryPackageUpdatesAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesasync.md) によって取得された更新の数を取得します。 |
| [XStoreQueryProductForCurrentGameAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync.md) | 現在実行中のゲームのストア製品情報、その SKU および可用性、その他のメタデータを提供します。 |
| [XStoreQueryProductForCurrentGameResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforcurrentgameresult.md) | [XStoreQueryProductForCurrentGameAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryProductForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforpackageasync.md) | 指定したパッケージのストア製品情報を取得します。 |
| [XStoreQueryProductForPackageResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforpackageresult.md) | [XStoreQueryProductForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductforpackageasync.md) の呼び出し結果を取得します。 |
| [XStoreQueryProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductsasync.md) | 現在のゲームに関連付けられた指定製品のリスト情報を返します。これらの製品が現在のゲーム内で購入可能かどうかは問いません。 |
| [XStoreQueryProductsResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductsresult.md) | [XStoreQueryProductsAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorequeryproductsasync.md) の呼び出し結果を取得します。 |
| [XStoreRegisterGameLicenseChanged](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreregistergamelicensechanged.md) | ゲーム ライセンス変更イベントのコールバックを登録します。 |
| [XStoreRegisterPackageLicenseLost](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreregisterpackagelicenselost.md) | ライセンス消失イベントのコールバックを登録します。 |
| [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) | 指定した数量の消費型製品を消費します。 |
| [XStoreReportConsumableFulfillmentResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentresult.md) | [XStoreReportConsumableFulfillmentAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorereportconsumablefulfillmentasync.md) の呼び出し結果を取得します。 |
| [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md) | Microsoft Store アプリを開き、ゲームに関連付けられた利用可能なアドオンのセットを表示します。製品の種類でさらにフィルタリングできます。 |
| [XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md) | [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md) の呼び出し結果を取得します。 |
| [XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) | ゲームが特定のストア製品を別のユーザーへのギフトとして購入することを要求できるようにします。 |
| [XStoreShowGiftingUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiresult.md) | [XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) の呼び出し結果を取得します。 |
| [XStoreShowProductPageUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowproductpageuiasync.md) | 指定した ProductId の詳細ページをストア アプリで直接開きます。 |
| [XStoreShowProductPageUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowproductpageuiresult.md) | [XStoreShowProductPageUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowproductpageuiasync.md) の呼び出し結果を取得します。 |
| [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md) | ゲームが特定のストア製品の購入を要求できるようにします。 |
| [XStoreShowPurchaseUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowpurchaseuiresult.md) | [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md) の呼び出し結果を取得します。 |
| [XStoreShowRateAndReviewUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowrateandreviewuiasync.md) | ユーザーがレビューを入力するか、拒否するかを選択できるシステム ダイアログをポップアップ表示します。 |
| [XStoreShowRateAndReviewUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowrateandreviewuiresult.md) | [XStoreShowRateAndReviewUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowrateandreviewuiasync.md) の呼び出し結果を取得します。 |
| [XStoreShowRedeemTokenUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowredeemtokenuiasync.md) | 指定したトークンに対して、現在のユーザーによるトークンの引き換えをトリガーします。 |
| [XStoreShowRedeemTokenUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowredeemtokenuiresult.md) | [XStoreShowRedeemTokenUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowredeemtokenuiasync.md) の呼び出し結果を取得します。 |
| [XStoreUnregisterGameLicenseChanged](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreunregistergamelicensechanged.md) | 指定したゲーム ライセンス変更コールバックの登録を解除します。 |
| [XStoreUnregisterPackageLicenseLost](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreunregisterpackagelicenselost.md) | 指定したストア ライセンス消失コールバックの登録を解除します。 |

## Structures

| 構造体 | 説明 |
| - | - |
| [XStoreAddonLicense](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreaddonlicense.md) | アドオン ライセンスを表します。 |
| [XStoreAvailability](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreavailability.md) | 製品の利用可能性を表します。 |
| [XStoreCanAcquireLicenseResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorecanacquirelicenseresult.md) | [XStoreCanAcquireLicenseForPackageAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync.md) または [XStoreCanAcquireLicenseForStoreIdAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync.md) の呼び出し結果を取得します。 |
| [XStoreCollectionData](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorecollectiondata.md) | ストア コレクションを表します。 |
| [XStoreConsumableResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreconsumableresult.md) | 消費型製品の数量を表します。 |
| [XStoreGameLicense](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoregamelicense.md) | ゲーム ライセンスを表します。 |
| [XStoreImage](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreimage.md) | 画像を表します。 |
| [XStorePackageUpdate](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorepackageupdate.md) | パッケージの更新を表します。 |
| [XStorePrice](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreprice.md) | ストア価格情報。 |
| [XStoreProduct](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoreproduct.md) | ストア製品を表します。 |
| [XStoreRateAndReviewResult](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorerateandreviewresult.md) | [XStoreShowRateAndReviewUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowrateandreviewuiasync.md) の呼び出し結果。 |
| [XStoreSku](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresku.md) | ストア SKU を表します。 |
| [XStoreSubscriptionInfo](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstoresubscriptioninfo.md) | サブスクリプションに関する情報を格納します。 |
| [XStoreVideo](https://docs.xbox.com/ja-jp/reference/system/xstore/structs/xstorevideo.md) | ストア動画を表します。 |

## Enumerations

| 列挙型 | 説明 |
| - | - |
| [XStoreCanLicenseStatus](https://docs.xbox.com/ja-jp/reference/system/xstore/enums/xstorecanlicensestatus.md) | ユーザーがパッケージのライセンスを取得できるかどうかを示します。 |
| [XStoreDurationUnit](https://docs.xbox.com/ja-jp/reference/system/xstore/enums/xstoredurationunit.md) | 期間値の単位。 |
| [XStoreProductKind](https://docs.xbox.com/ja-jp/reference/system/xstore/enums/xstoreproductkind.md) | 製品の種類を示します。 |

## Error Codes

以下のエラー コードが XStore API から返される場合があります。完全な一覧については、[エラー コード](https://docs.xbox.com/ja-jp/reference/errorcodes.md) を参照してください。

| コード | 値 | 説明 |
| - | - | - |
| E\_GAMESTORE\_LICENSE\_ACTION\_NOT\_APPLICABLE\_TO\_PRODUCT | 0x89245300 | ゲームがライセンスを取得できない製品のライセンスを要求しました。 |
| E\_GAMESTORE\_NETWORK\_ERROR | 0x89245301 | ゲームがストア ネットワークとの通信に失敗しました。 |
| E\_GAMESTORE\_SERVER\_ERROR | 0x89245302 | ゲームがストア サーバーから不正な応答を受信しました。 |
| E\_GAMESTORE\_INSUFFICIENT\_QUANTITY | 0x89245303 | ユーザーは要求された数量を使用するのに十分な消費型製品を持っていません。 |
| E\_GAMESTORE\_ALREADY\_PURCHASED | 0x89245304 | ユーザーは既にこの製品を所有しています。 |
| E\_GAMESTORE\_LICENSE\_ACTION\_THROTTLED | 0x89245305 | ゲームが製品のライセンスを過剰にクエリしたため、現在調整されています。同じ製品に対するライセンス試行の上限は 10 分以内に 30 回です。 |

## Conceptual documentation

* [コマースの概要](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/commerce-nav)
* [XStore の概要](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-overview.md)
* [XStore の基本的なストア操作](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-basic-operations.md)

## See also

[System API リファレンス](https://docs.xbox.com/ja-jp/reference/system/gc-reference-system-toc.md)\
[XPackage API リファレンス](https://docs.xbox.com/ja-jp/reference/system/xpackage/xpackage_members.md)\
[コマースの概要](https://learn.microsoft.com/gaming/gdk/docs/store/commerce/commerce-nav)


## Related topics

- [PC 上での Store アカウントが一致しないシナリオの処理](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-mismatched-accounts.md)
- [XStore 開発のトラブルシューティング](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-troubleshooting.md)
- [XStore 開発とテストの有効化](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-product-testing-setup.md)
- [更新プログラムの確認](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-checking-updates.md)
- [ユーザー Store ID キーを更新する](https://docs.xbox.com/ja-jp/publishing/xstore-commerce/xstore-renew-userstoreid.md)
