FairmaticConfiguration

class FairmaticConfiguration(var sdkKey: String, val driverId: String, val fairmaticDriverAttributes: FairmaticDriverAttributes)

The configuration to pass to Fairmatic for com.fairmatic.sdk.Fairmatic.setup. It contains properties like the sdk key, driver id, driver attributes etc.

Parameters

sdkKey
  • The Fairmatic sdk key for this application.

driverId
  • Each driver using the application needs a unique Id. This same Id will be used in Fairmatic driver analytics services like the dashboard and API.

fairmaticDriverAttributes
  • The driver attributes for this driver. This is used to identify the driver in the Fairmatic dashboard and API.

Constructors

Link copied to clipboard
constructor(sdkKey: String, driverId: String, fairmaticDriverAttributes: FairmaticDriverAttributes)

Properties

Link copied to clipboard
Link copied to clipboard