win8_share_url(URL, title, description, immediate);
|URL||The URL to share (as a string)|
|title||The title of the file (a string)|
|description||A text description of the file|
|immediate||This flag can be set to true or false to share immediately or not.|
With this function you can share a URL. The URL should be
complete and include "http://" and you can also give it a title and
a description. Finally you should indicate whether it should be
shared immediately (true) and shown in the slide-out share
"charm" or not (false), in which case the user will have
to manually call on the share "charm" to see the content.
win8_share_url("http://www.MacSweeneyGames.com", "MacSweeney Games", "MacSweeny Games Homepage", true);
The above code will check for the "S" key being pressed and if it is detected it will share the given URL.