-
public class GlobalRumMonitorA global RumMonitor holder, ensuring that all RUM events are registered on the same instance.
If the RUM feature is not enabled, a default no-op implementation is used.
You can then retrieve the active RumMonitor using the get method.
-
-
Field Summary
Fields Modifier and Type Field Description public final static GlobalRumMonitorINSTANCE
-
Method Summary
Modifier and Type Method Description final static BooleanisRegistered(SdkCore sdkCore)Identify whether a RumMonitor has previously been registered for the given SDK instance. final static BooleanisRegistered()Identify whether a RumMonitor has previously been registered for the given SDK instance. final static RumMonitorget(SdkCore sdkCore)Returns the constant RumMonitor instance. final static RumMonitorget()Returns the constant RumMonitor instance. -
-
Method Detail
-
isRegistered
@JvmOverloads() final static Boolean isRegistered(SdkCore sdkCore)
Identify whether a RumMonitor has previously been registered for the given SDK instance.
This check is useful in scenarios where more than one component may be responsible for registering a monitor.
- Parameters:
sdkCore- the SdkCore instance to check against.
-
isRegistered
@JvmOverloads() final static Boolean isRegistered()
Identify whether a RumMonitor has previously been registered for the given SDK instance.
This check is useful in scenarios where more than one component may be responsible for registering a monitor.
-
get
@JvmOverloads() final static RumMonitor get(SdkCore sdkCore)
Returns the constant RumMonitor instance.
Until a RUM feature is enabled, a no-op implementation is returned.
-
get
@JvmOverloads() final static RumMonitor get()
Returns the constant RumMonitor instance.
Until a RUM feature is enabled, a no-op implementation is returned.
-
-
-
-