when I use setPeriodic and setRequiredNetworkType what if at the end of the period there is no RequiredNetworkType ? the task will run in any case or it's will be delayed? I mean I would like the task to be run every 30 min if their is a WIFI connection, else after one hour use any available connection.
how to do this ?