Package-level declarations

Types

Link copied to clipboard

Direction provider that uses Android's native SensorManager instead of Google Play Services' FusedOrientationProviderClient.

Link copied to clipboard

Location provider that uses Android's native LocationManager instead of Google Play Services' FusedLocationProviderClient.

Link copied to clipboard
data class DeviceDirection(val attitude: FloatArray, val headingDegrees: Float, val headingAccuracyDegrees: Float, val elapsedRealtimeNanos: Long)

Custom DeviceOrientation class to replace Google Play Services DeviceOrientation. This allows the app to run on devices without Google Play Services.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class LocationProvider
Link copied to clipboard

Functions

Link copied to clipboard
fun phoneHeldFlat(deviceOrientation: DeviceDirection?): Boolean