Sample code for Xbox Game Bar Widgets
Перейти к файлу
Albert Burt a3ad13ae82
Merge prerelease into main for 2409 SDK updates (#139)
* Initial commit with latest pre-release package.

* add XboxGameBarAppTargetTracker example

* Add XboxGameBarWidgetActivity example.

* Add XboxGameBarWidgetNotification example.

* Add notification assets.

* Add notification relative path example.

* access check for XboxGameBarAppTargetTracker

* Add FavoriteAfterInstall example.

* Add notification settings check.

* Add LaunchUriAsync example.

* Subscribe to target setting changed event

* Sample Updates for 2310 release (#127)

* Start of styling

* Updated advanced widget styles

* Finish major cleanup of adv samples

* Fix hotkey and move foreground sample

* Local to internal nuget feed

* Update to 2310 SDK v.6.1.240122001 (#130)

* Fix padding on root grids (#131)

* Sample updates for 2409 Release (#136)

* Adding compact mode enabled sdk api sample

---------

Co-authored-by: Albert Burt <alburt@microsoft.com>

* Update prerelease branch to published GA nuget for 2409 (#137)

Co-authored-by: Albert Burt <alburt@microsoft.com>

* update package ref version to 2409 GA version (#138)

Co-authored-by: Albert Burt <alburt@microsoft.com>

---------

Co-authored-by: Rajneil Rana <rajneilr@microsoft.com>
Co-authored-by: Laura De Boldt <ladebold@microsoft.com>
Co-authored-by: ranaway-ms <68712780+ranaway-ms@users.noreply.github.com>
Co-authored-by: Ben McGregor <benmc@microsoft.com>
Co-authored-by: Albert Burt <alburt@microsoft.com>
2024-09-18 07:09:22 -07:00
.github/ISSUE_TEMPLATE Update issue templates 2020-03-30 17:06:10 -07:00
Samples Merge prerelease into main for 2409 SDK updates (#139) 2024-09-18 07:09:22 -07:00
.gitignore Initial commit 2019-10-02 19:38:24 +00:00
CODE_OF_CONDUCT.md Initial commit 2019-10-02 12:38:27 -07:00
LICENSE Initial commit 2019-10-02 12:38:29 -07:00
README.md remove header 2020-04-09 16:50:48 -07:00
SECURITY.md Initial commit 2019-10-02 12:38:31 -07:00

README.md

Xbox Game Bar SDK Samples

The Xbox Game Bar software development kit allows you to build widgets for Xbox Game Bar. An Xbox Game Bar widget is a Windows UWP XAML app that has a XAML view rendered into Xbox Game Bar's UI.

Aside from a slightly different app activation and a little "bootstrapping" when the app is activated, an Xbox Game Bar widget is no different than any other UWP XAML app. In fact your UWP XAML app can be a normal app (support foreground activation) and one or more Xbox Game Bar widgets (support Xbox Game Bar widget activation).

When your app is activated, it will know which activation type is happening so it can create the correct corresponding XAML view.

These samples will allow you to discover how to build your own Game Bar widget.

Build Status

Master Branch Build Status

Documentation

All documentation describing the Game Bar SDK, these samples, OS requirements, and setting up your environment can be found on docs.microsoft.com/gaming/game-bar.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.