I want to bind the OnVirtualKeyboardShown delegate and use it. How do I bind?

With On Virtual Keyboard Hidden
I’m using the On Virtual Keyboard Shown delegate to handle the event when the textbox is focused. I found the relevant delegate but I’m not sure how to bind Do you know anyone?

// MyActor.h
void MyTestFunction(FPlatformRect Rect);

// MyActor.cpp
OnVirtualKeyboardShown().AddUObject(this, &ThisClass::MyTestFunction);