Mediation Handler
An interface representing a mediator handler for handling mediator routing in the DIDComm protocol. The MediatorHandler protocol defines methods and properties for booting registered mediators, achieving mediation, updating key lists, picking up unread messages, and registering messages as read.
Inheritors
Functions
Link copied to clipboard
Achieves mediation with the mediatorDID with the specified host DID as a user.
Link copied to clipboard
Boots the registered mediator associated with the mediator handler.
Link copied to clipboard
abstract suspend fun listenUnreadMessages(serviceEndpointUri: String, onMessageCallback: OnMessageCallback)
Listens for unread messages from a specified WebSocket service endpoint.
Link copied to clipboard
Link copied to clipboard
Registers the specified message IDs as read.
Link copied to clipboard
Updates the key list with the specified DIDs.