sendPixel

abstract fun sendPixel(pixelName: String, parameters: Map<String, String>, encodedParameters: Map<String, String>, type: Pixel.PixelType): Single<PixelSender.SendPixelResult>

Sends a pixel with the specified name and parameters.

This method is safe to call from any thread, as the operation does not start until the returned Single is subscribed to.

Parameters

pixelName

The name of the pixel event to be sent.

parameters

A map of parameters to be included with the pixel event. These parameters are URL-encoded before being sent.

encodedParameters

A map of parameters that are already URL-encoded. Use this when the parameters are pre-encoded.

type

The type of pixel event to be sent.