Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Message

struct in ImmerseSDK.PlatformServices

Used for multi-player messages

Properties
Id The ID for this message
Used when persisting multiple messages of the same type
Sender The user ID of the sender
Timestamp Message timestamp in milliseconds
Returns 0 if it is a ‘fast’ message
Methods
GetPayloadAsString Uses UTF8 encoding to convert the payload to a string