Share via


GameChatMessageReceivedEventArgs Class

Definition

Contains the event arguments for the MessageReceived event. 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 GameChatMessageReceivedEventArgs sealed
/// [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 GameChatMessageReceivedEventArgs final
[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 GameChatMessageReceivedEventArgs
Public NotInheritable Class GameChatMessageReceivedEventArgs
Inheritance
Object Platform::Object IInspectable GameChatMessageReceivedEventArgs
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)

Properties

AppDisplayName

The display name for the app that triggered the event. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

AppId

The Package Family Name (PFN) of the app that triggered the event. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

Message

The contents of the message. This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

Origin

The origin of the message (voice or text). This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, your app cannot use this API.

SenderName

The sender of the message (the sender parameter passed to the GameChatOverlay.AddMessage method). 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