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.

setAdditional(_:forKey:)

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

init?(trackingIdentifier:)

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

setAdditional(_: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.
trackingID Tracking ID for tracking pre-installed apps.

Returns:

The instance of the YMMYandexMetricaPreloadInfo class.

setAdditional(_:forKey:)

func setAdditional(_ 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:
info Value 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.

info Value 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.