analytics.UserDimensions class

Interface representing the user who triggered the events.

Signature:

export declare class UserDimensions 

Constructors

Constructor Modifiers Description
(constructor)(wireFormat) Constructs a new instance of the UserDimensions class

Properties

Property Modifiers Type Description
appInfo AppInfo App information.
bundleInfo ExportBundleInfo Information regarding the bundle in which these events were uploaded.
deviceInfo DeviceInfo Device information.
firstOpenTime string The time (in UTC) at which the user first opened the app.
geoInfo GeoInfo User's geographic information.
userId string The user ID set via the setUserId API. [Android](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#setUserId(java.lang.String)) [iOS](https://firebase.google.com/docs/reference/ios/firebaseanalytics/api/reference/Classes/FIRAnalytics#/c:objc(cs)FIRAnalytics(cm)setUserID)
userProperties { [key: string]: UserPropertyValue; } A map of user properties set with the [setUserProperty](https://firebase.google.com/docs/analytics/android/properties) API.All values are [UserPropertyValue](providers_analytics_.userpropertyvalue) objects.

analytics.UserDimensions.(constructor)

Constructs a new instance of the UserDimensions class

Signature:

constructor(wireFormat: any);

Parameters

Parameter Type Description
wireFormat any

analytics.UserDimensions.appInfo

App information.

Signature:

appInfo?: AppInfo;

analytics.UserDimensions.bundleInfo

Information regarding the bundle in which these events were uploaded.

Signature:

bundleInfo: ExportBundleInfo;

analytics.UserDimensions.deviceInfo

Device information.

Signature:

deviceInfo: DeviceInfo;

analytics.UserDimensions.firstOpenTime

The time (in UTC) at which the user first opened the app.

Signature:

firstOpenTime?: string;

analytics.UserDimensions.geoInfo

User's geographic information.

Signature:

geoInfo: GeoInfo;

analytics.UserDimensions.userId

The user ID set via the setUserId API. [Android](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#setUserId(java.lang.String)) [iOS](https://firebase.google.com/docs/reference/ios/firebaseanalytics/api/reference/Classes/FIRAnalytics#/c:objc(cs)FIRAnalytics(cm)setUserID)

Signature:

userId?: string;

analytics.UserDimensions.userProperties

A map of user properties set with the [setUserProperty](https://firebase.google.com/docs/analytics/android/properties) API.

All values are [UserPropertyValue](providers_analytics_.userpropertyvalue) objects.

Signature:

userProperties: {
        [key: string]: UserPropertyValue;
    };