AppMeasurement

public class AppMeasurement extends Object

This class was deprecated.
Use FirebaseAnalytics instead.

Public Method Summary

static AppMeasurement
getInstance(Context context)
This method was deprecated. Use getInstance(Context) instead.
void
setMeasurementEnabled(boolean enabled)
This method was deprecated. Please use setAnalyticsCollectionEnabled(boolean) instead.

Inherited Method Summary

Public Methods

public static AppMeasurement getInstance (Context context)

This method was deprecated.
Use getInstance(Context) instead.

public void setMeasurementEnabled (boolean enabled)

This method was deprecated.
Please use setAnalyticsCollectionEnabled(boolean) instead.

Sets whether analytics collection is enabled for this app on this device. This setting is persisted across app sessions. By default it is enabled.

Parameters
enabled Whether analytics collection is enabled for this app on this device.

Send feedback about...

Need help? Visit our support page.