AssetNotification

public final class AssetNotification: NSObject

Asset‘s notification subscibtion address.

  • Address value. Email address in case of .email type, Phone number in case of .sms type.

    Declaration

    Swift

    public var address: String
  • Address Type. .email or .sms type.

    Declaration

    Swift

    public var type: AssetNotificationType
  • Creates a copy of AssetNotification object.

    Declaration

    Swift

    override public func copy() -> Any
  • Instantiates new AssetNotification object with given address type and value.

    Declaration

    Swift

    public init(type: AssetNotificationType, deliveryAddress value: String)

    Parameters

    type

    Address type. .email or .sms

    deliveryAddress

    Address value. Email address in case of .email type, Phone number in case of .sms type.