Companion

object Companion

Properties

Link copied to clipboard
const val KIND_GROUP: Int = 1
Link copied to clipboard
const val KIND_PUBLIC: Int = 2
Link copied to clipboard
const val KIND_WEBID: Int = 0

Functions

Link copied to clipboard
fun from(rdfSubject: String, isGroup: Boolean = false): ShareReceiver

Reverses toRdfSubject. The kind hint distinguishes a WebID from a group URI since both are arbitrary IRIs in RDF.

Link copied to clipboard
fun fromKind(kind: Int, value: String?): ShareReceiver

Reconstructs a receiver from its AIDL (kind, value) representation.

Link copied to clipboard
fun fromKindOrNull(kind: Int, value: String?): ShareReceiver?

The non-throwing fromKind, returning null for a kind this build does not know or a missing identifier.