PlatformPrintJobControllerMethod enum
List of PlatformPrintJobController's methods that can be used to check if they are supported or not by the current platform.
Values
- cancel → const PlatformPrintJobControllerMethod
-
Can be used to check if the PlatformPrintJobController.cancel method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - PrintJob.cancel)
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
- dismiss → const PlatformPrintJobControllerMethod
-
Can be used to check if the PlatformPrintJobController.dismiss method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView
Parameters - Officially Supported Platforms/Implementations:
animated: all platforms
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
- dispose → const PlatformPrintJobControllerMethod
-
Can be used to check if the PlatformPrintJobController.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
- getInfo → const PlatformPrintJobControllerMethod
-
Can be used to check if the PlatformPrintJobController.getInfo method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - PrintJob.getInfo)
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
- restart → const PlatformPrintJobControllerMethod
-
Can be used to check if the PlatformPrintJobController.restart method is supported at runtime.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - PrintJob.restart)
Use the PlatformPrintJobController.isMethodSupported method to check if this method is supported at runtime.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PlatformPrintJobControllerMethod> - A constant List of the values in this enum, in order of their declaration.