AssociatedIdentifiers
public class AssociatedIdentifiers
Defines analytics identifiers to be associated with the device.
-
Maximum number of associated IDs that can be set.
Declaration
Swift
public static let maxCount: Int -
Character limit for associated IDs or keys.
Declaration
Swift
public static let maxCharacterCount: Int -
The advertising ID.
Declaration
Swift
public var advertisingID: String? { get set } -
The application’s vendor ID.
Declaration
Swift
public var vendorID: String? { get set } -
Indicates whether the user has limited ad tracking.
Declaration
Swift
public var advertisingTrackingEnabled: Bool { get set } -
A map of all the associated identifiers.
Declaration
Swift
public var allIDs: [String : String] { get } -
Factory method to create an empty identifiers object.
Declaration
Swift
public class func identifiers() -> AssociatedIdentifiersReturn Value
The created associated identifiers.
-
Factory method to create an associated identifiers instance with a dictionary of custom identifiers (containing strings only).
Declaration
Swift
public class func identifiers(identifiers: [String: String]?) -> AssociatedIdentifiersReturn Value
The created associated identifiers.
-
Sets an identifier mapping.
Declaration
Swift
public func set(identifier: String?, key: String)Parameters
identifierThe value of the identifier, or
nilto remove the identifier. @parm key The key for the identifier
View on GitHub