Package-level declarations

Types

Link copied to clipboard
class TikiSdk

The TIKI SDK main class. Use this to add tokenized data ownership, consent, and rewards.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class TikiSdkConsent(val ownershipId: String, val destination: TikiSdkDestination, val transactionId: String, val about: String? = null, val reward: String? = null, val expiry: Date? = null)
Link copied to clipboard
@JsonClass(generateAdapter = false)
enum TikiSdkDataTypeEnum : Enum<TikiSdkDataTypeEnum>

The type of data origin for an ownership registry.

Link copied to clipboard
@JsonClass(generateAdapter = true)
open class TikiSdkDestination(val paths: List<String>, val uses: List<String> = listOf("*"))

The destination to which the data is consented to be used.

Link copied to clipboard
@JsonClass(generateAdapter = true)
class TikiSdkOwnership(val source: String, val type: TikiSdkDataTypeEnum, val origin: String, val transactionId: String, val contains: List<String> = listOf(), val about: String? = null)

The Ownership NFT.