Error in "FTickerDelegate::CreateRaw"

I want to make an simple Plugin that show magnetometer sensor of Mobile Device periodically.
So I use “FTicker” because I want to use Timer without using AActor or etc.

I want to use in Plugin Sample.
So I copy “BlankPlugin” and renamed “TestPlugin”.
And attached code like below image2.png
But the error like image1.png appeared.

How to use “FTickerDelegate::CreateRaw” function???

Hi,

Your GetMagneticSensor function takes no parameters and returns void, but the signature of FTickerDelegate is one which takes a float and returns bool:

DECLARE_DELEGATE_RetVal_OneParam(bool, FTickerDelegate, float);

Hope this helps,

Steve

Thank you!!