Builder class
Constructors
- Builder()
Properties
- builderAgent ↔ BuilderAgent?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- messagingAgent ↔ MessagingAgent?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
{String androidAPIKey = '', String iosAPIKey = ''}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withAppVersion(
[String appVersion = '1.0']) → Builder - Sets the app version.
-
withContinueSessionMillis(
[int sessionMillis = 10000]) → Builder - Sets the timeout for expiring a Flurry session.
-
withCrashReporting(
[bool crashReporting = true]) → Builder - Enable automatics collection of crash reports.
-
withDataSaleOptOut(
[bool isOptOut = false]) → Builder - Sends CCPA compliance data to Flurry.
-
withGppConsent(
String gppString, Set< int> gppSectionIds) → Builder - Set Flurry Consent for the IAB Global Privacy Platform (GPP). To pass an IAB string to Flurry.
-
withIncludeBackgroundSessionsInMetrics(
[bool includeBackgroundSessionsInMetrics = true]) → Builder - Enables opting out of background sessions being counted towards total sessions.
-
withLogEnabled(
[bool enableLog = true]) → Builder - Generates debug logs to console.
-
withLogLevel(
[LogLevel logLevel = LogLevel.warn]) → Builder - Sets the log level of the debug logs of console.
-
withMessaging(
[bool enableMessaging = true, MessagingListener? listener]) → Builder - Sets automatic integration for push notification for iOS. Register Messaging listener for optional callback on Push events for both iOS and Android.
-
withPerformanceMetrics(
[int performanceMetrics = Performance.all]) → Builder - Sets flag for performance metrics reporting.
-
withReportLocation(
[bool reportLocation = true]) → Builder - Sets user's preference to allow Flurry to record location via GPS.
-
withSslPinningEnabled(
[bool sslPinningEnabled = false]) → Builder - True to enable or false to disable SSL Pinning for Flurry Analytics connection. Defaults to false.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited