anonymous method

LDAttributesBuilder anonymous(
  1. bool anonymous

Sets whether the LDContext is only intended for flag evaluations and should not be indexed by LaunchDarkly.

The default value is false. False means that this LDContext represents an entity such as a user that you want to be able to see on the LaunchDarkly dashboard.

Setting anonymous to true excludes this LDContext from the dashboard. It does not exclude it from analytics event data, so it is not the same as making attributes private; all non-private attributes will still be included in events and data export.


LDAttributesBuilder anonymous(bool anonymous) {
  _anonymous = anonymous;
  return this;