Fairmatic Driver Attributes
Additional attributes of a Fairmatic driver. The application can specify both predefined and custom attributes for a driver. These attributes are associated with a SDK driverId at SDK initialization time. In addition to predefined special attributes, up to 4 custom key value attributes can be associated with a driver of the Fairmatic SDK. These attributes are available on the Fairmatic dashboard and via the API.
All attribute keys and values can be upto 64 characters in length. Longer keys and values will be truncated to the first 64 characters.
Functions
Returns true if the specified object is equal to the current object.
Returns the specified custom attribute if set or null.
Get the json format to upload attributes.
Returns the vehicle type of the driver if set or null.
Set the custom attribute of the driver. Up to 4 custom attributes can be set for a driver.
Set the vehicle type for the driver. To enable the feature for any vehicle type other than FairmaticVehicleType.CAR, please contact us.
Return the json representation of this object. Null if a json exception occurred.