Line data Source code
1 : /// Represent the possible location permissions. 2 14 : enum LocationPermission { 3 : /// This is the initial state on both Android and iOS, but on Android the 4 : /// user can still choose to deny permissions, meaning the App can still 5 : /// request for permission another time. 6 : denied, 7 : 8 : /// Permission to access the device's location is permenantly denied. When 9 : /// requestiong permissions the permission dialog will not been shown until 10 : /// the user updates the permission in the App settings. 11 : deniedForever, 12 : 13 : /// Permission to access the device's location is allowed only while 14 : /// the App is in use. 15 : whileInUse, 16 : 17 : /// Permission to access the device's location is allowed even when the 18 : /// App is running in the background. 19 : always 20 : }