Connect IQ Fields settings for data field

I have a data field that vibrates every N seconds during an activity.

I would like to be able to change this interval (N) during the activity using the Connect IQ Fields settings on the device, but I don’t understand how to trigger or enable that settings screen.

Which part of the code is responsible for this?
What class or API should I use to make my data field expose settings in the on-device Connect IQ Fields menu?