CatalogEntry

data class CatalogEntry(val resourceUri: String, val title: String, val description: String?, val depictionUri: String?) : Parcelable

One row in an owner-published catalog.

Catalogs let an owner advertise resources they may be willing to share so requesters can discover what to ask for. The catalog itself lives at {podRoot}/solidshare/catalog.ttl and is publicly readable; the resources it points at can still be private until a request is granted.

These entries drive the request-to-share flow: a viewer fetches an owner's catalog to see what can be requested, then sends an access request for one of the listed resources.

Constructors

Link copied to clipboard
constructor(resourceUri: String, title: String, description: String?, depictionUri: String?)

Properties

Link copied to clipboard

Optional preview / depiction URL (foaf:depiction).

Link copied to clipboard

Optional longer description (dc:description).

Link copied to clipboard

URI of the resource being advertised.

Link copied to clipboard

Human-readable title (dc:title).

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)