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

MessageQueue<T>

sealed class in ImmerseSDK.PlatformServices / Inherits from Object

Queues all incoming messages and executes them on the main thread

Fields
CatchExceptions Whether to catch exceptions thrown by message handlers
Properties
Count Count of messages in active queue
IsPaused Returns true if the queue is paused
MaxNumberOfMessagesPerFrame The max number of frames that will be processed each frame
Methods
Resume Resume the message queue
Pause Pause the message queue