MethodChannelStorifyMeFlutterPlugin class

An implementation of StorifyMeFlutterPluginPlatform that uses method channels.

Inheritance

Properties

adEventListener ↔ StorifyMeAdEventListener?
Listener for ad-related events.
getter/setter pairinherited
commerceListener ↔ StorifyMeCommerceListener?
Typed v3 commerce listener.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
interactionListener ↔ StorifyMeInteractionListener?
Typed v3 interaction listener.
getter/setter pairinherited
methodChannel → MethodChannel
final
nativeEventListener ↔ NativeEventListener?
Listener for native events.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

closePlayback() → void
Method used to close StorifyMe experience playback
override
configureCustomerId(String customerId) → Future<void>
Configures a global customer ID. Implementations may override this.
override
disableInitialOnboarding() → void
Disables the initial onboarding tutorial permanently, ensuring users won't see it again once it's triggered.
override
getPlatformVersion() → Future<String?>
Retrieves the platform version.
override
getWidgetCachedHeight(int widgetId, int autoLayoutType) → Future<double?>
Retrieves the cached height of a widget.
override
initPlugin(Map<String, dynamic> map) → Future<void>
Initializes the plugin with the given parameters.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openExperienceByHandle(String handle, {StorifyMeExperienceBehaviour? experienceBehaviour}) → void
Opens a v3 experience by its handle. Implementations may override this.
override
openStoryByHandle(String handle) → void
override
pausePlayback({StorifyMeControlsVisibility controlsVisibility = StorifyMeControlsVisibility.visible}) → void
Method used to pause StorifyMe playback
override
resumePlayback({StorifyMePlaybackMode mode = StorifyMePlaybackMode.proceed}) → void
Method used to resume StorifyMe playback
override
setExperienceViewerOrientation(StorifyMeExperienceViewerOrientation orientation) → Future<void>
Sets the Android full-screen experience viewer orientation policy.
override
showNotification({required String title, String? message, required double duration}) → void
Shows a notification with the specified title, message, and duration.
override
toString() → String
A string representation of this object.
inherited

Operators

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