MethodChannelBubblFlutterSdk class

Inheritance

Properties

deviceLogChannel EventChannel
final
geofenceChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
final
notificationChannel EventChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

boot({required String apiKey, required String environment, required List<String> segmentationTags, int? geoPollIntervalMs, int? defaultDistance}) Future<Map<String, dynamic>>
override
clearCachedCampaigns() Future<void>
override
clearCorrelationId() Future<bool>
override
clearStoredConfig() Future<bool>
override
clearTenantConfig() Future<bool>
override
cta({required int notificationId, required String locationId}) Future<void>
override
deviceLogEvents(Map<String, dynamic>? options) Stream<Map<String, dynamic>>
override
forceRefreshCampaigns() Future<bool>
override
geofenceEvents() Stream<Map<String, dynamic>>
override
getApiKey() Future<String>
override
getCampaignCount() Future<int>
override
getCorrelationId() Future<String>
override
getCurrentConfiguration() Future<Map<String, dynamic>?>
override
getDeviceLogStreamInfo() Future<Map<String, dynamic>>
override
getDeviceLogTail({int maxLines = 80}) Future<List<String>>
override
getPrivacyText() Future<String>
override
getTenantConfig() Future<Map<String, dynamic>?>
override
hasCampaigns() Future<bool>
override
init({required String apiKey, required String environment, required List<String> segmentationTags, int? geoPollIntervalMs, int? defaultDistance}) Future<Map<String, dynamic>>
override
locationGranted() Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notificationEvents() Stream<Map<String, dynamic>>
override
notificationGranted() Future<bool>
override
refreshGeofence({required double latitude, required double longitude}) Future<void>
override
refreshPrivacyText() Future<String>
override
requestPushPermission() Future<bool>
override
requiredPermissions() Future<List<String>>
override
sayHello() Future<String>
override
sendEvent(Map<String, dynamic> payload) Future<bool>
override
setCorrelationId(String correlationId) Future<bool>
override
setTenantConfig({required String apiKey, required String environment}) Future<bool>
override
startDeviceLogStream(Map<String, dynamic> options) Future<Map<String, dynamic>>
override
startLocationTracking() Future<bool>
override
stopDeviceLogStream() Future<void>
override
submitSurveyResponse({required String notificationId, required String locationId, required List<Map<String, dynamic>> answers}) Future<bool>
override
testNotification() Future<bool>
override
toString() String
A string representation of this object.
inherited
trackSurveyEvent({required String notificationId, required String locationId, required String activity}) Future<bool>
override
updateSegments(List<String> tags) Future<bool>
override

Operators

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