AppleTranslationPlatformApi class
Always available.
Constructors
- AppleTranslationPlatformApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for AppleTranslationPlatformApi. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isInstalledSessionSupported(
) → Future< bool> -
Whether
TranslationSession(installedSource:target:)is available (iOS 26 / macOS 26). -
isStrategySupported(
) → Future< bool> - Whether translation strategies and attributed text are available (iOS 26.4 / macOS 26.4).
-
isSupported(
) → Future< bool> - Whether the Translation framework is available (iOS 18 / macOS 15).
-
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
-
pigeonChannelCodec
→ const MessageCodec<
Object?>