BadgeIssuanceView

data class BadgeIssuanceView(val name: String? = null, val issuer: Did, val imageUrl: Uri? = null, val selected: Boolean? = null, val badgeType: String, val description: String? = null, val issuanceCid: String? = null, val issuanceUri: AtUri)

A resolved view of a badge issuance, including def fields for display.

Parameters

name

Display name from the badge definition.

issuer

DID of the badge issuer.

imageUrl

Resolved image URL for the badge icon.

selected

Whether this badge is currently in the user's chat profile selection.

description

Description from the badge definition.

issuanceCid

CID of the place.stream.badge.issuance record.

issuanceUri

AT URI of the place.stream.badge.issuance record.

Constructors

Link copied to clipboard
constructor(name: String? = null, issuer: Did, imageUrl: Uri? = null, selected: Boolean? = null, badgeType: String, description: String? = null, issuanceCid: String? = null, issuanceUri: AtUri)

Properties

Link copied to clipboard
Link copied to clipboard

Description from the badge definition.

Link copied to clipboard

Resolved image URL for the badge icon.

Link copied to clipboard

CID of the place.stream.badge.issuance record.

Link copied to clipboard

AT URI of the place.stream.badge.issuance record.

Link copied to clipboard
val issuer: Did

DID of the badge issuer.

Link copied to clipboard
val name: String?

Display name from the badge definition.

Link copied to clipboard

Whether this badge is currently in the user's chat profile selection.