Class of android.adservices.measurement · MeasurementManager.java · Android's reference
public class MeasurementManager
Attribution measurement (Off: no ad services). The API status is MEASUREMENT_API_STATE_DISABLED, and each other call ends in onError with IllegalStateException.
public static final int MEASUREMENT_API_STATE_DISABLED = 0 sourcepublic static final int MEASUREMENT_API_STATE_ENABLED = 1 sourcepublic static MeasurementManager get(Context context) sourcepublic void registerSource(Uri attributionSource, InputEvent inputEvent, Executor executor, OutcomeReceiver<Object, Exception> callback) sourcepublic void registerTrigger(Uri trigger, Executor executor, OutcomeReceiver<Object, Exception> callback) sourcepublic void registerWebSource(WebSourceRegistrationRequest request, Executor executor, OutcomeReceiver<Object, Exception> callback) sourcepublic void registerWebTrigger(WebTriggerRegistrationRequest request, Executor executor, OutcomeReceiver<Object, Exception> callback) sourcepublic void deleteRegistrations(DeletionRequest deletionRequest, Executor executor, OutcomeReceiver<Object, Exception> callback) sourcepublic void getMeasurementApiStatus(Executor executor, OutcomeReceiver<Integer, Exception> callback) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.