Package-level declarations

Types

Link copied to clipboard
class PortalRequestException(val response: RequestResponse, val methodName: String) : Exception

Exception thrown when a portal request ends with a non-success response.

Link copied to clipboard

Indicates how the user interaction for a portal request ended.

Functions

Link copied to clipboard
suspend fun <T> awaitPortalResponse(connection: DBusConnection, methodName: String, call: () -> DBusPath, parseSuccess: (Map<String, Variant<*>>) -> T): Result<T>

Awaits a portal response signal after making a D-Bus request.