Package 

Interface LocalAttribute


  • 
    public interface LocalAttribute
    
                        

    Local attributes are used to pass additional metadata along with the event and are never sent to the backend directly.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum LocalAttribute.Key

      Enumeration of all local attributes keys used in the application. Made via enum to make sure that all such attributes will be removed before sending the event to the backend.

      public interface LocalAttribute.Constant

      Used for attributes that have a finite set of possible values (such as enumerations, see ViewScopeInstrumentationType). This interface makes it possible to use only the value (see enrichWithConstantAttribute) when setting an attribute and reduces the possibility of inconsistent use of api (when an unsupported value is passed for a particular attribute key).