Udostępnij za pośrednictwem


GameChatOverlayMessageSource Class

Definition

Provides an event that is raised every time the game chat receives a message, as well as a method to set the delay before the game chat overlay closes after receiving a message. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

public ref class GameChatOverlayMessageSource sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Gaming.UI.GameChatOverlayContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.UI.GameChatOverlayContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameChatOverlayMessageSource final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Gaming.UI.GameChatOverlayContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.UI.GameChatOverlayContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GameChatOverlayMessageSource
function GameChatOverlayMessageSource()
Public NotInheritable Class GameChatOverlayMessageSource
Inheritance
Object Platform::Object IInspectable GameChatOverlayMessageSource
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Gaming.UI.GameChatOverlayContract (introduced in v1.0)

Constructors

GameChatOverlayMessageSource()

Constructor for the GameChatOverlayMessageSource class. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

Methods

SetDelayBeforeClosingAfterMessageReceived(TimeSpan)

Sets the delay before the game chat overlay closes after receiving a message. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

Events

MessageReceived

Event raised every time a message is received. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

Applies to