YMMYandexMetricaPreloadInfo class

This class contains information for tracking pre-installed apps.

Instance methods

init?(trackingIdentifier:)

Initializes the instance of the YMMYandexMetricaPreloadInfo class with the specified trackingID.

setAdditionalInfo(_:forKey:)

Returns “key-value” additional parameters that are used for tracking pre-installed apps.

Method descriptions

init?(trackingIdentifier:)

init?(trackingIdentifier trackingID: String)

Initializes the instance of the YMMYandexMetricaPreloadInfo class with the specified trackingID.

Parameters:
trackingID

Tracking ID for tracking pre-installed apps.

Returns:

The instance of the YMMYandexMetricaPreloadInfo class.

setAdditionalInfo(_:forKey:)

func setAdditionalInfo(_ info: String, forKey key: String)

Returns “key-value” additional parameters that are used for tracking pre-installed apps.

This method may be invoked repeatedly for setting multiple pairs of additional information

Parameters:
infoValue of the additional parameter. Can't be nil. Pairs with the nil value are ignored.
key

Key for the additional parameter. Can't be nil. Pairs with the nil key are ignored.