Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Global accessor for Android Application. Must be initialized at app startup.

Functions

Link copied to clipboard
fun byteArrayOfInts(vararg ints: Int): ByteArray

Utility function to make it easy to declare byte arrays

Link copied to clipboard

Checks if the device has a GPS receiver and it is currently disabled.

Link copied to clipboard

Checks if all necessary Bluetooth permissions have been granted.

Link copied to clipboard

Checks if the device has a GPS receiver.

Link copied to clipboard
Link copied to clipboard
fun Context.registerReceiverCompat(receiver: BroadcastReceiver, filter: IntentFilter, flag: Int = ContextCompat.RECEIVER_EXPORTED)

Extension for Context to register a BroadcastReceiver in a compatible way across Android versions.

Link copied to clipboard
fun xorHash(b: ByteArray): ERROR CLASS: Unresolved name: fold