Wasabi ExpressPlay SDK for Embedded Systems
1.23.0
|
Interface implemented by an application in order to receive event notifications from a SHI_Engine. More...
#include <ShiEngine.h>
Data Fields | |
void(* | OnEvent )(SHI_EngineListener self, SHI_EngineEventType type, const SHI_EngineEvent *event) |
Notifies the listener that an event has occurred. More... | |
Interface implemented by an application in order to receive event notifications from a SHI_Engine.
void(* SHI_EngineListenerInterface::OnEvent) (SHI_EngineListener self, SHI_EngineEventType type, const SHI_EngineEvent *event) |
Notifies the listener that an event has occurred.
Based on the event type, the event pointer should be cast to a specific data structure type. For example, if the type is SHI_ENGINE_EVENT_TRANSACTION_BEGIN, the event pointer should be cast to SHI_TransactionEvent.
self | The listener. |
type | The event type. |
event | Pointer to the event. |