VisProfilerOptions class

Configuration options for VisProfiler SDK data collection

Constructors

VisProfilerOptions({bool enableLocation = true, bool enableNetworkInfo = true, bool enableAdId = true, bool enableDeviceInfo = true, bool enablePublicIp = true, bool enablePeriodicSending = true, int sendIntervalMs = 180000, bool enableLogging = true, bool enableCaching = true, bool enableInitialDataSend = false})
const
VisProfilerOptions.essential({bool enableLocation = false, bool enableNetworkInfo = true, bool enableAdId = false, bool enableDeviceInfo = true, bool enablePublicIp = false, bool enablePeriodicSending = true, int sendIntervalMs = 180000, bool enableLogging = true, bool enableCaching = true, bool enableInitialDataSend = false})
Create options with only essential features enabled
const
VisProfilerOptions.full({bool enableLocation = true, bool enableNetworkInfo = true, bool enableAdId = true, bool enableDeviceInfo = true, bool enablePublicIp = true, bool enablePeriodicSending = true, int sendIntervalMs = 180000, bool enableLogging = true, bool enableCaching = true, bool enableInitialDataSend = true})
Create options with all features enabled (full tracking)
const
VisProfilerOptions.minimal({bool enableLocation = false, bool enableNetworkInfo = false, bool enableAdId = false, bool enableDeviceInfo = true, bool enablePublicIp = false, bool enablePeriodicSending = false, int sendIntervalMs = 180000, bool enableLogging = true, bool enableCaching = true, bool enableInitialDataSend = false})
Create options with all features disabled (minimal data collection)
const

Properties

enableAdId bool
Enable/disable advertising ID collection
final
enableCaching bool
Enable/disable caching for performance optimization
final
enableDeviceInfo bool
Enable/disable device information collection (always recommended to keep true)
final
enableInitialDataSend bool
Enable/disable initial data send during initialization
final
enableLocation bool
Enable/disable location data collection
final
enableLogging bool
Enable/disable SDK logging
final
enableNetworkInfo bool
Enable/disable network information collection
final
enablePeriodicSending bool
Enable/disable automatic periodic data sending
final
enablePublicIp bool
Enable/disable public IP collection
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendIntervalMs int
Interval for automatic data sending in milliseconds (default: 3 minutes)
final

Methods

copyWith({bool? enableLocation, bool? enableNetworkInfo, bool? enableAdId, bool? enableDeviceInfo, bool? enablePublicIp, bool? enablePeriodicSending, int? sendIntervalMs, bool? enableLogging, bool? enableCaching, bool? enableInitialDataSend}) VisProfilerOptions
Copy options with modifications
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert options to map for debugging/logging
toString() String
A string representation of this object.
override

Operators

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