Package 

Class PreferencesService

  • All Implemented Interfaces:
    io.opentelemetry.android.internal.services.Lifecycle , io.opentelemetry.android.internal.services.Service

    
    public class PreferencesService
     implements Service
                        

    Utility to store and retrieve apps' preferences.

    This class is internal and not for public use. Its APIs are unstable and can change at any time.

    • Method Summary

      Modifier and Type Method Description
      static PreferencesService create(Context context)
      void store(String key, int value)
      int retrieveInt(String key, int defaultValue)
      • Methods inherited from class io.opentelemetry.android.internal.services.Lifecycle

        start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait