addProperty

Adds a key-value property pair to this BrazeProperties object. Note that invalid key-value pairs are logged and not added to the BrazeProperties object to preserve valid internal state at all times.

Return

this

Parameters

key

Property keys are non-empty strings <= 255 characters, with no leading dollar signs. Strings of length 255 characters will be truncated.

value

property value - supported type are Long, Int, Double, Boolean, Date, String, JSONObject, and Map.