Inherits from NSObject
Declared in UAAssociatedIdentifiers.h

Overview

Defines analytics identifiers to be associated with the device.

Properties

advertisingID

The advertising ID.

@property (nonatomic, copy, nullable) NSString *advertisingID

Declared In

UAAssociatedIdentifiers.h

allIDs

A map of all the associated identifiers.

@property (nonatomic, readonly) NSDictionary *allIDs

Declared In

UAAssociatedIdentifiers.h

vendorID

The application’s vendor ID.

@property (nonatomic, copy, nullable) NSString *vendorID

Declared In

UAAssociatedIdentifiers.h

Class Methods

identifiers

Factory method to create an empty identifiers object.

+ (instancetype)identifiers

Return Value

The created associated identifiers.

Declared In

UAAssociatedIdentifiers.h

identifiersWithDictionary:

Factory method to create an associated identifiers instance with a dictionary of custom identifiers.

+ (instancetype)identifiersWithDictionary:(NSDictionary<NSString*,NSString*> *)identifiers

Return Value

The created associated identifiers.

Declared In

UAAssociatedIdentifiers.h

Instance Methods

setIdentifier:forKey:

Sets an identifier mapping.

- (void)setIdentifier:(nullable NSString *)identifier forKey:(NSString *)key

Parameters

identifier

The value of the identifier, or nil to remove the identifier. @parm key The key for the identifier

Declared In

UAAssociatedIdentifiers.h