GivenShare

data class GivenShare(val receiver: ShareReceiver, val mode: ShareMode, val resourceUri: String, val createdAt: String? = null) : Parcelable

A share the user has given (created) — the user grants receiver access of mode on resourceUri. Stored in {podRoot}/solidshare/shares/given_shares.ttl.

createdAt is the ISO-8601 instant the share was created (dcterms:created on the index record), or null for legacy rows written before timestamps existed or rows reconstructed from a pod ACL scan (where the moment is unknown). Several modes for the same (receiver, resourceUri) pair share the one record, hence the one timestamp.

Constructors

Link copied to clipboard
constructor(receiver: ShareReceiver, mode: ShareMode, resourceUri: String, createdAt: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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