2019-07-28 14:16:27 +02:00
|
|
|
/// suspension prevention
|
|
|
|
enum ConstantsSuspensionPrevention {
|
|
|
|
|
|
|
|
/// name of the file that has the sound to play
|
2023-09-15 21:29:17 +02:00
|
|
|
static let soundFileName = "1-millisecond-of-silence.caf"//20ms-of-silence.caf"
|
2019-07-28 14:16:27 +02:00
|
|
|
|
2023-11-13 13:14:20 +01:00
|
|
|
/// how often to play the sound, in seconds, for the normal keep-alive mode
|
|
|
|
static let intervalNormal = 5
|
|
|
|
|
|
|
|
/// how often to play the sound, in seconds, for the aggressive keep-alive mode
|
|
|
|
static let intervalAggressive = 2
|
2019-07-28 14:16:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|