AppmetricaAdapterBase
open class AppmetricaAdapterBase : VarioqubReporter, VarioqubIdProvider
The base adapter class.
Implements most of the VarioqubReporter и VarioqubIdProvider methods.
-
Undocumented
Declaration
Swift
public var varioqubKey: String -
Undocumented
Declaration
Swift
public let handleQueue: DispatchQueue -
The adapter name.
Declaration
Swift
public var varioqubName: String { get } -
Sets an experiment.
Declaration
Swift
open func setExperiments(_ experiments: String)Parameters
experimentsThe experiment identifier.
-
Sets triggered IDs.
Declaration
Swift
open func setTriggeredTestIds(_ triggeredTestIds: VarioqubTestIDSet)Parameters
triggeredTestIdsThe set of the triggered test IDs.
-
Sends an activation event.
Declaration
Swift
open func sendActivateEvent(_ eventData: VarioqubEventData)Parameters
eventDataThe struct that represents the information about activation.
-
Obtains identifiers(deviceId and userId).
Declaration
Swift
open func fetchIdentifiers(completion: @escaping VarioqubIdProvider.Completion)Parameters
completionNotifies when the operation ends.
-
Uses the reporter with the apiKey.
This method works only on AppMetrica 5 and newer. If you use MetricaAdapterReflection, it may throw an error if your AppMetrica doesn’t support extras for the custom reporter.
Throws
AppmetricaErrorDeclaration
Swift
open func setCustomRepoter(apiKey: String) throwsParameters
apiKeyThe apiKey for the reporter.
Install in Dash
AppmetricaAdapterBase Class Reference