StorifyMeFlutterPlugin class

A class that provides methods for interacting with native functionality through Flutter.

Use this class to set event listeners, initialize the plugin, get platform version, show notifications, and obtain the playback controller.

Constructors

StorifyMeFlutterPlugin()
Constructs a new instance of the StorifyMeFlutterPlugin.

Properties

hashCode → int
The hash code for this object.
no setterinherited
playbackController → StorifyMePlaybackController
Gets the playback controller.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

configureCustomerId(String customerId) → Future<void>
Associates subsequent SDK activity with a customer ID.
disableInitialOnboarding() → void
Disables the initial onboarding tutorial permanently, ensuring users won't see it again once it's triggered.
getPlatformVersion() → Future<String?>
Retrieves the platform version.
initPlugin(Map<String, dynamic> map) → Future<void>
Initializes the plugin with the given parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openExperienceByHandle(String handle, {StorifyMeExperienceBehaviour? experienceBehaviour}) → void
openStoryByHandle(String handle) → void
Deprecated v2 name. Use openExperienceByHandle.
setAdEventListener(StorifyMeAdEventListener adEventListener) → void
Sets the event listener for ad-related events.
setCommerceListener(StorifyMeCommerceListener listener) → void
Sets the typed v3 commerce listener.
setEventListener(NativeEventListener nativeEventListener) → void
Sets the event listener for native events.
setExperienceViewerOrientation(StorifyMeExperienceViewerOrientation orientation) → Future<void>
Sets the orientation policy for full-screen experience viewers on Android.
setInteractionListener(StorifyMeInteractionListener listener) → void
Sets the typed v3 interaction listener.
showNotification({required String title, String? message, double duration = 3.0}) → void
Shows a notification with the specified title, message, and duration.
toString() → String
A string representation of this object.
inherited

Operators

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