显示 Web 身份验证流的选项。
语法
enum class XGameUiWebAuthenticationOptions : uint32_t
{
None = 0x00,
PreferFullscreen = 0x01
};
常量
| 常量 | 说明 |
|---|---|
| 无 | 在普通对话框中显示身份验证流。 |
| PreferFullscreen | 使用全屏显示身份验证流。 |
备注
XGameUiShowWebAuthenticationWithOptionsAsync 函数使用此枚举。
注意
在电脑上,不支持全屏,因此 PreferFullscreen 调用 时将被忽略 XGameUiShowWebAuthenticationWithOptionsAsync。
要获取调用 XGameUiShowWebAuthenticationWithOptionsAsync 的结果,请调用 XGameUiShowWebAuthenticationResultSize。 然后呼叫 XGameUiShowWebAuthenticationResult.
要求
头文件: XGameUI.h
支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机