Defines and stores metadata about events and purchases.
Metadata is stored as properties represented by key-value pairs.
Property keys are non-empty strings <= 255 characters, with no leading dollar signs. Property values are be integers, doubles, booleans, java.util.Date objects, or strings <= 255 characters. All strings of length 255 characters will be truncated.
Creates an BrazeProperties object using JSON. Invalid keys and invalid string values are removed from the constructed object. JSONObject.NULL values are also removed if present.
Creates an BrazeProperties object using Map. Invalid keys are removed from the constructed object.
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.