startImmobilityDetection

fun startImmobilityDetection(    context: Context,     sensitivity: Double,     periodToTriggerAlarm: Long,     periodPreAlarm: Long)

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)

periodToTriggerAlarm

: Immobility period to trigger alarm is set to X minutes

periodPreAlarm

: start An Emergency Call will start after X seconds