GameAnalyticsJS class

Annotations
  • @JS("gameanalytics.GameAnalytics")

Constructors

GameAnalyticsJS()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addAdEvent(int adAction, int adType, String adSdkName, String adPlacement, Map fields, bool mergeFields) → void
addAdEventWithDuration(int adAction, int adType, String adSdkName, String adPlacement, int duration, Map fields, bool mergeFields) → void
addAdEventWithNoAdReason(int adAction, int adType, String adSdkName, String adPlacement, int noAdReason, Map fields, bool mergeFields) → void
addBusinessEvent(String currency, int amount, String itemType, String itemId, String cartType, Map fields, bool mergeFields) → void
addDesignEvent(String eventId, double? value, Map fields, bool mergeFields) → void
addErrorEvent(int severity, String message, Map fields, bool mergeFields) → void
addProgressionEvent(int addProgressionEvent, String progression01, String progression02, String progression03, double? score, Map fields, bool mergeFields) → void
addResourceEvent(int flowType, String currency, double amount, String itemType, String itemId, Map fields, bool mergeFields) → void
configureAvailableCustomDimensions01(List<String> customDimensions) → void
configureAvailableCustomDimensions02(List<String> customDimensions) → void
configureAvailableCustomDimensions03(List<String> customDimensions) → void
configureAvailableResourceCurrencies(List<String> resourceCurrencies) → void
configureAvailableResourceItemTypes(List<String> resourceItemTypes) → void
configureBuild(String build) → void
configureSdkGameEngineVersion(String sdkGameEngineVersion) → void
configureUserId(String uId) → void
endSession() → void
getABTestingId() String
getABTestingVariantId() String
getRemoteConfigsContentAsString() String
getRemoteConfigsValueAsString(String key, String? defaultValue) String
initialize(String gameKey, String secretKey) → void
isRemoteConfigsReady() bool
setCustomDimension01(String dimension) → void
setCustomDimension02(String dimension) → void
setCustomDimension03(String dimension) → void
setEnabledEventSubmission(bool flag) → void
setEnabledInfoLog(bool flag) → void
setEnabledManualSessionHandling(bool flag) → void
setEnabledVerboseLog(bool flag) → void
setGlobalCustomEventFields(Map customFields) → void
startSession() → void