init
Initializes callback properties based on server-provided configuration.
This method is called automatically by the Journey framework during callback initialization to configure the callback based on the server's requirements for device profiling. It parses JSON configuration values and sets the appropriate internal state.
Supported Configuration Properties:
metadata: Boolean value enabling/disabling metadata collectionlocation: Boolean value enabling/disabling location collectionmessage: String value containing contextual information
Parameters
name
The name of the property being initialized
value
The JSON value containing the property configuration
Throws
if the property value cannot be parsed correctly