• /
  • Log in

removeAllAttributes (Android SDK API)


NewRelic.removeAllAttributes ()

Removes all attributes from the session.


Agent version 5.0.0 or higher.


Removes all attributes from the session.

For context on how to use this API, see Send custom attributes and events to Insights.

Return values

Returns true if it succeeds, or false if it doesn't.


Remove all attributes

boolean attributesRemoved = NewRelic.removeAllAttributes();

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.