start Immobility Detection
fun startImmobilityDetection( context: Context, sensitivity: Double, periodToTriggerAlarm: Long, periodPreAlarm: Long)
Content copied to clipboard
This method Called to detect if a Mobile User in distress (not moving due to sickness, attack, or other reasons.)
Parameters
context
sensitivity
: the Phone will consider that it is immobile only bellow that treshold(sensitivity value)
period To Trigger Alarm
: Immobility period to trigger alarm is set to X minutes
period Pre Alarm
: start An Emergency Call will start after X seconds