-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.PTRListener
public interface PermissionManager.Listener implements PTRListener
-
-
Method Summary
Modifier and Type Method Description Unit
onBluetoothServiceStateUpdate(BluetoothServiceState state)
Notifies subscribers whenever Bluetooth Service state changes. Unit
onLocationServiceStateUpdate(Boolean isEnabled)
Notifies subscribers whenever Location Service state changes. Unit
onBluetoothPermissionGranted(BluetoothPermissionState state)
Notifies subscribers whenever Bluetooth Permission state changes. Unit
onLocationPermissionGranted(LocationPermissionState state)
Notifies subscribers whenever Location Permission state changes. Unit
onCameraPermissionGranted()
Notifies subscribers whenever camera permission is granted. Unit
onNotificationPermissionGranted()
Notifies if notification permission is granted -
-
Method Detail
-
onBluetoothServiceStateUpdate
Unit onBluetoothServiceStateUpdate(BluetoothServiceState state)
Notifies subscribers whenever Bluetooth Service state changes.
- Parameters:
state
- Current Bluetooth Service status.
-
onLocationServiceStateUpdate
Unit onLocationServiceStateUpdate(Boolean isEnabled)
Notifies subscribers whenever Location Service state changes.
- Parameters:
isEnabled
- True if Location Service become active, false otherwise.
-
onBluetoothPermissionGranted
Unit onBluetoothPermissionGranted(BluetoothPermissionState state)
Notifies subscribers whenever Bluetooth Permission state changes.
- Parameters:
state
- Current Bluetooth Permission status.
-
onLocationPermissionGranted
Unit onLocationPermissionGranted(LocationPermissionState state)
Notifies subscribers whenever Location Permission state changes.
- Parameters:
state
- Current Location Permission status.
-
onCameraPermissionGranted
Unit onCameraPermissionGranted()
Notifies subscribers whenever camera permission is granted.
-
onNotificationPermissionGranted
Unit onNotificationPermissionGranted()
Notifies if notification permission is granted
-
-
-
-