Permutive_iOS v1.4.0 Documentation

Class Alias

@objc (PermutiveAlias)
public class Alias: NSObject  
Alias Alias NSObject NSObject Alias->NSObject

Conforms To

NSObject

Initializers

init(tag:​identity:​expiry:​)

@objc
    public init(tag: String, identity: String, expiry: Date? = nil)  

init(tag:​identity:​priority:​expiry:​)

@objc
    public init(tag: String, identity: String, priority: UInt16, expiry: Date? = nil)  

Properties

tag

public let tag: String

An identifier for the type of identity you wish to create. Meaning is ascribed above Permutive SDK. E.g. "customerNumber". This is treated as case-insensitive.

identity

public let identity: String

The identity value, e.g. "12345678"

expiry

public let expiry: Date? 

The date on which an alias with be automatically removed If nil the aliases will exist until updated

priority

public let priority: UInt16? 

The alias priority, where 0 is the highest priority. If nil the alias priority will be set to the lowest priority possible