Class Services
-
- All Implemented Interfaces:
-
io.opentelemetry.android.internal.services.ServicesFactory,java.io.Closeable,java.lang.AutoCloseable
public final class Services implements ServicesFactory
This class is internal and not for public use. Its APIs are unstable and can change at any time.
-
-
Field Summary
Fields Modifier and Type Field Description private final AppLifecycleappLifecycleprivate final VisibleScreenTrackervisibleScreenTracker
-
Method Summary
Modifier and Type Method Description AppLifecyclegetAppLifecycle()VisibleScreenTrackergetVisibleScreenTracker()Unitclose()final static Servicesget(Context context)final static Unitset(Services services)-
-
Method Detail
-
getAppLifecycle
AppLifecycle getAppLifecycle()
-
getVisibleScreenTracker
VisibleScreenTracker getVisibleScreenTracker()
-
set
@VisibleForTesting() final static Unit set(Services services)
-
-
-
-