AndroidAdapter class
Stub for AndroidAdapter on web platform.
This class is never instantiated on web - it exists only for API compatibility.
- Inheritance
-
- Object
- NutrientPlatformAdapter
- AndroidAdapter
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- platform → TargetPlatform
-
The platform this adapter targets.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Dispose of this adapter and clean up resources.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPlatformViewCreated(
NutrientViewHandle handle) → Future< void> -
Called when the platform view is created.
override
-
openDocument(
String path, {String? password}) → Future< NutrientDocumentInterface> -
Opens a document without displaying a viewer (headless mode).
override
-
openDocumentFromBytes(
Uint8List bytes, {String? password}) → Future< NutrientDocumentInterface> -
Opens a document from in-memory
byteswithout a viewer (headless).inherited -
processAnnotations(
String sourcePath, AnnotationType type, AnnotationProcessingMode mode, String destinationPath) → Future< bool> -
Processes the annotations of the document at
sourcePathand writes the result todestinationPath, mirroring the legacy SDK's annotation processing.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited