Package-level declarations

Types

Link copied to clipboard

The device features DeviceTools can expose.

Link copied to clipboard
class DeviceTools(context: Context, permissions: PermissionGate, val features: Set<DeviceFeature> = DeviceFeature.entries.toSet()) : Capability

Device integrations as agent tools: device info, clipboard, calendar, contacts, location, alarms / timers and notifications. Tools that change something on the device ask the user first; tools that need a runtime permission request it through permissions (the app must declare them in its manifest — this library adds none).

Link copied to clipboard
fun interface PermissionGate

Asks the user for runtime permissions (the app implements it with an Activity result launcher).