Initialize a sandbox with the trial properties for licencing.



Argument Description
xml The xml that defines the sandbox licence, as a string.

Returns: N/A


This function enables a sandbox environment in which you can test the Trial Play features of your game on Windows 8. The function takes a string containing the XML that will define the sandbox. You can find complete details of all the possible settings from Microsoft here and the example code below gives a basic working string that you can use as a base.


var license;
license = '<?xml version="1.0" encoding="utf-16" ?>
         <MarketData xml:lang="en-us">

The above code will create a sandbox to trial play your game, using the given string as the XML template.

Back: Windows 8
Next: win8_livetile_notification_begin
© Copyright YoYo Games Ltd. 2018 All Rights Reserved