Synced
IPlatformApplication.PollEvent
Section titled “IPlatformApplication.PollEvent”
- Attempts to dequeue the next backend-neutral platform event.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Platform
Declaration
Section titled “Declaration”bool Inno.Platform.IPlatformApplication.PollEvent(out Inno.Core.Events.Event? evnt)Parameters
Section titled “Parameters”Parameter evnt: The translated event when one is available; otherwise, null.
Returns
Section titled “Returns”true when an event was returned; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: Thrown when the platform application has already been disposed.