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.

发送以下问题的反馈:

此网页
需要帮助?请访问我们的支持页面