IGipGameControllerInputSink.OnMessageReceived Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event raised when a message is received.
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())
Parameters
- timestamp
-
UInt64
unsigned long long
uint64_t
Timestamp of the event.
- messageClass
- GipMessageClass
The class of the message.
- messageId
-
Byte
byte
The ID of the message.
- sequenceId
-
Byte
byte
Sequence ID of the message.
- messageBuffer
-
Byte[]
byte[]
Buffer containing the message.