Partager via


IGipGameControllerInputSink.OnMessageReceived Méthode

Définition

Événement déclenché lors de la réception d’un message.

public:
 void OnMessageReceived(unsigned long long timestamp, GipMessageClass messageClass, byte messageId, byte sequenceId, Platform::Array <byte> ^ messageBuffer);
void OnMessageReceived(uint64_t const& timestamp, GipMessageClass const& messageClass, byte const& messageId, byte const& sequenceId, winrt::array_view <byte> const& messageBuffer);
public void OnMessageReceived(ulong timestamp, GipMessageClass messageClass, byte messageId, byte sequenceId, byte[] messageBuffer);
function onMessageReceived(timestamp, messageClass, messageId, sequenceId, messageBuffer)
Public Sub OnMessageReceived (timestamp As ULong, messageClass As GipMessageClass, messageId As Byte, sequenceId As Byte, messageBuffer As Byte())

Paramètres

timestamp
UInt64

unsigned long long

uint64_t

Horodatage de l’événement.

messageClass
GipMessageClass

Classe du message.

messageId
Byte

byte

ID du message.

sequenceId
Byte

byte

ID de séquence du message.

messageBuffer

Byte[]

byte[]

Mémoire tampon contenant le message.

S’applique à