Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Data Fields
SHI_EngineListenerInterface Struct Reference

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...
 

Detailed Description

Interface implemented by an application in order to receive event notifications from a SHI_Engine.

See also
SHI_EngineConfig

Field Documentation

◆ OnEvent

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.

Parameters
selfThe listener.
typeThe event type.
eventPointer to the event.

The documentation for this struct was generated from the following file: