This notification is useful for disconnecting from network services prior to sleep, or re-establishing a connection if the network configuration has changed during sleep.
| Modifier and Type | Method and Description |
|---|---|
| public void | systemAboutToSleep(SystemSleepEvent
the system sleep event e)Called when the system is about to sleep. |
| public void | systemAwoke(SystemSleepEvent
the system sleep event e)Called after the system has awoken from sleeping. |
| systemAboutToSleep | back to summary |
|---|---|
| public void systemAboutToSleep(SystemSleepEvent e) Called when the system is about to sleep. Note This message may not be delivered prior to the actual system sleep, and may be processed after the corresponding wake has occurred.
| |
| systemAwoke | back to summary |
|---|---|
| public void systemAwoke(SystemSleepEvent e) Called after the system has awoken from sleeping.
| |