Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.29 KB

java-code-examples-for-submissions-game-options-and-trailers.md

File metadata and controls

56 lines (38 loc) · 3.29 KB
author description title ms.author ms.date ms.topic ms.prod ms.technology keywords ms.localizationpriority
mcleanbyron
Use the Java code examples in this section to learn more about submitting game options and trailers using the Microsoft Store submission API.
Java sample - app submission with game options and trailers
mcleans
07/10/2017
article
windows
uwp
windows 10, uwp, Microsoft Store submission API, code examples, game options, trailers, advanced listings, java
medium

Java sample: app submission with game options and trailers

This article provides Java code examples that demonstrate how to use the Microsoft Store submission API for these tasks:

  • Obtain an Azure AD access token to use with the Microsoft Store submission API.
  • Create an app submission
  • Configure Store listing data for the app submission, including the gaming and trailers advanced listing options.
  • Upload the ZIP file containing the packages, listing images, and trailer files for the app submission.
  • Commit the app submission.

Create an app submission

The CreateAndSubmitSubmissionExample class implements a main program that calls other example methods to use the Microsoft Store submission API to create and commit an app submission that contains game options and a trailer. To adapt this code for your own use:

[!div class="tabbedCodeSnippets"] [!codeSubmissionApi]

Obtain an Azure AD access token

The DevCenterAccessTokenClient class defines a helper method that uses the your tenantId, clientId and clientSecret values to create an Azure AD access token to use with the Microsoft Store submission API.

[!div class="tabbedCodeSnippets"] [!codeSubmissionApi]

Helper methods to invoke the submission API and upload submission files

The DevCenterClient class defines helper methods that invoke a variety of methods in the Microsoft Store submission API and upload the ZIP file containing the packages, listing images, and trailer files for the app submission.

[!div class="tabbedCodeSnippets"] [!codeSubmissionApi]

Related topics