zcash-android-wallet-sdk / cash.z.wallet.sdk / Synchronizer / AddressType

AddressType

sealed class AddressType

Represents the types of addresses, either Shielded, Transparent or Invalid.

Types

Invalid

An instance of AddressType corresponding to an invalid address.

class Invalid : AddressType

Shielded

An instance of AddressType corresponding to a valid z-addr.

object Shielded : Valid, AddressType

Transparent

An instance of AddressType corresponding to a valid t-addr.

object Transparent : Valid, AddressType

Valid

Marker interface for valid AddressType instances.

interface Valid

Properties

isNotValid

A convenience method that returns true when an instance of this class is invalid.

val isNotValid: Boolean