SolidTicketsDataModule
Client SDK for the Solid Tickets data module — the user's wallet: schema:Ticket resources stored on their pod and registered in the Solid type index.
Calls are delegated over IPC to the Android Solid Services app, which owns the login and the tokens. Obtain an instance via Solid.getTicketsDataModule. Collect ticketsDataModuleServiceConnectionState and wait for true before issuing calls. All operations are suspend functions, return null when the service yields no result, and throw SolidException on failure.
Functions
Creates a ticket on the user's pod, in its own sub-container of the tickets container.
Deletes the ticket at ticketUri: its index row and its whole sub-container (document, artifact, stored images). Returns the removed ticket.
Reads a binary stored with a ticket — the original artifact or a stored pass image. Subject to the ~1 MB Binder transaction limit.
Returns the cached tickets index for webId — enough to render a wallet list without fetching each ticket document.
Replaces the ticket's stored artifact (and any provided pass-image roles) with fresh bytes, refreshing the document links. Travels inline over Binder, so it is subject to the ~1 MB transaction limit.
Hot Flow of the IPC service connection state; emits true once connected.