I’m developing an App for iOS with Firemonkey (Delphi) that can run in background mode, but sometimes I need to know if device is in sleep mode, or with screen on or off (it also serves me).
Please, any suggestions?.
Thanks!
StackOverflow: Firemonkey
Embarcadero: Firemonkey OOP
Embarcadero: Firemonkey C++