Solid
class Solid
Entry point for the Android Solid Services client SDK.
Third-party apps use this class to obtain the SDK clients:
getSignInClient — authenticate with Solid and manage authorization
getResourceClient — read, create, update and delete Solid pod resources
getContactsDataModule — access the Solid Contacts data module
getSharingClient — create, list and revoke shares of pod resources
getNotificationsClient — read and send share-notification inbox messages
All clients are singletons per application process and communicate with the Android Solid Services app via AIDL bound services.
Prerequisites: The Android Solid Services app must be installed and the user must have logged in before calling resource or contacts operations.
Typical setup (in Application.onCreate or a Hilt module):
val signIn = Solid.getSignInClient(context)
signIn.requestLogin { selectedWebId, _ -> ... }Content copied to clipboard