TBLInAppWebViewControllerWrapper class

Implemented types
Mixed-in types

Constructors

TBLInAppWebViewControllerWrapper(dynamic controller)
Creates a new TBLInAppWebViewControllerWrapper instance

Properties

controller → dynamic
The underlying InAppWebView controller instance
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addJavaScriptMessageHandler({required void callback(dynamic)}) → void
override
checkInlineMediaPlaybackConfiguration() Future<void>
allowsInlineMediaPlayback is a WebView creation-time setting the publisher must set themselves when building this controller. Warn loudly if it looks misconfigured so publishers can fix their setup, mirroring TBLFlutterWebViewControllerWrapper. Reads settings dynamically so this plugin doesn't need to depend on the flutter_inappwebview package types.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeJavaScriptMessageHandler() → void
override
runJavaScript(String javascript) Future<void>
override
setInspectable(bool inspectable) Future<void>
isInspectable is not supported on the flutter_inappwebview integration: applying it would require a getSettings()->mutate->setSettings() round trip that writes back the entire settings object rather than a diff, which can silently clobber other settings the publisher changes concurrently. Since flutter_inappwebview is a publisher dependency (not pinned by this SDK) and is also no longer actively maintained, we only log when a publisher requests it here instead of applying it. See MOB-6412 for details.
override
toString() String
A string representation of this object.
inherited
warnIfInlineMediaPlaybackNotConfigured(bool allowsInlineMediaPlayback) → void
This flag was added after publishers reported issues with Motion Ads playing automatically and opening all over the screen.
inherited

Operators

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

Constants

INAPP_WEBVIEW_CHANNEL → const String