GeckoTranslateSessionDelegate.kt |
This delegate function is triggered when requesting a translation on the page is likely.
The criteria is that the page is in a different language than the user's known languages and
that the page is translatable (a model is available).
@param session The session that this delegate event corresponds to.
|
3284 |
GeckoTranslationUtils.kt |
Utility file for translations functions related to the Gecko implementation.
|
10871 |
RuntimeTranslationAccessor.kt |
Accessor interface for interacting with the static methods of
[org.mozilla.geckoview.TranslationsController.RuntimeTranslation].
This interface provides a way to abstract the static calls, primarily for testability.
It mirrors the callback-based asynchronous pattern used by consumers like `GeckoEngine`.
Instead of returning a result object (like GeckoResult), each method accepts
`onSuccess` and `onError` callbacks to handle the asynchronous outcome.
|
16208 |