GetEventHandler
Gets the event handler.
UFUNCTION(BlueprintPure, Category = "Agora|IRtcEngine")
void GetEventHandler(EAgoraBPuEventHandlerType& HandlerType, UAgoraBPuIRtcEngineEventHandler*& EventHandler, UAgoraBPuIRtcEngineEventHandlerEx* & EventHandlerEx);
After calling this method to obtain the event handler, you can call AddBlueprintCallbackExecutor or AddBlueprintCallbackExecutorEx to bind the corresponding callback executor.
Call timing
Call this method after calling GetAgoraRtcEngine.
Restrictions
None.
Parameters
- HandlerType
- Output parameters, event handler type.
- 1: EventHandler.
- 2: EventHandlerEx.
- EventHandler
- Output parameter, returns a pointer to the
UAgoraBPuIRtcEngineEventHandlerevent handler. - EventHandlerEx
- Output parameter, returns a pointer to the
UAgoraBPuIRtcEngineEventHandlerExevent handler.