setDeviceObjectAllowlist

Device object allowlisting is a feature where the SDK can be configured to only send a subset of the device object keys/values according to some allowlist. An empty allowlist will result in no device data being sent to Braze.

By default, this allowlist is empty. I.e., if the allowlist is enabled via BrazeConfig.Builder.setDeviceObjectAllowlistEnabled and no DeviceKeys are set in this method, then no fields will be sent in the device object.

See also

Parameters

deviceObjectAllowlist

An EnumSet of the allowlisted device object keys.