Compartilhar via


XGameUiNotificationPositionHint

Describes the preferred position for toast notifications to be shown on the current title.

Syntax

enum class XGameUiNotificationPositionHint  : uint32_t  
{  
    BottomCenter = 0,  
    BottomLeft = 1,  
    BottomRight = 2,  
    TopCenter = 3,  
    TopLeft = 4,  
    TopRight = 5  
}  

Constants

Constant Description
BottomCenter Indicates that toast notifications are preferred in the bottom center.
BottomLeft Indicates that toast notifications are preferred in the bottom left.
BottomRight Indicates that toast notifications are preferred in the bottom right.
TopCenter Indicates that toast notifications are preferred in the top center.
TopLeft Indicates that toast notifications are preferred in the top left.
TopRight Indicates that toast notifications are preferred in the top right.

Remarks

The notification position is a hint to the operating system on where to display toast notifications. In some cases, the system may choose to ignore the setting if the current UI cannot support displaying notifications in that location.

Parameter for XGameUiSetNotificationPositionHint.

Requirements

Header: XGameUI.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameUI
XGameUiSetNotificationPositionHint