SendsayConfiguration class

Annotations

Constructors

SendsayConfiguration({required String projectToken, required String authorizationToken, String? baseUrl, Map<EventType, List<SendsayProject>>? projectMapping, Map<String, Object>? defaultProperties, int? flushMaxRetries, double? sessionTimeout, bool? automaticSessionTracking, TokenFrequency? pushTokenTrackingFrequency, bool? requirePushAuthorization, bool? allowDefaultCustomerProperties, bool? advancedAuthEnabled, AndroidSendsayConfiguration? android, IOSSendsayConfiguration? ios, List<String>? inAppContentBlockPlaceholdersAutoLoad, bool? manualSessionAutoClose})
const

Properties

advancedAuthEnabled → bool?
If true, Customer Token authentication is used
final
allowDefaultCustomerProperties → bool?
If true, default properties are applied also for 'identifyCustomer' event.
final
android → AndroidSendsayConfiguration?
Platform specific settings for Android
final
authorizationToken → String
Default Sendsay project authorization token
final
automaticSessionTracking → bool?
Flag controlling automatic session tracking
final
baseUrl → String?
Default Sendsay project base URL
final
defaultProperties → Map<String, Object>?
Default properties added to every event tracked to Sendsay
final
flushMaxRetries → int?
Number of retries for event flushing in case of a failure
final
hashCode → int
The hash code for this object.
no setterinherited
inAppContentBlockPlaceholdersAutoLoad → List<String>?
Automatically load content of In-app content blocks assigned to these Placeholder IDs
final
ios → IOSSendsayConfiguration?
Platform specific settings for iOS
final
manualSessionAutoClose → bool?
If true, session_end is automatically tracked for current open session when next trackSessionStart() is called
final
projectMapping → Map<EventType, List<SendsayProject>>?
Map event types to extra projects. Every event is tracked into default project and all projects based on this mapping
final
projectToken → String
Default Sendsay project token
final
pushTokenTrackingFrequency → TokenFrequency?
Defines how often should the SDK track push notification token to Sendsay
final
requirePushAuthorization → bool?
If true, push notification registration and push token tracking is only done if the device is authorized to display push notifications
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionTimeout → double?
Time in seconds that user has to have the app closed for session to be ended
final

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