• Log in

removeAllAttributes (Android SDK API)

Syntax

NewRelic.removeAllAttributes ()

Removes all attributes from the session.

Requirements

Agent version 5.0.0 or higher.

Description

Removes all attributes from the session.

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

Return values

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

Examples

Remove all attributes

boolean attributesRemoved = NewRelic.removeAllAttributes();
Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.