View.SetViewTranslationCallback(IViewTranslationCallback) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a ViewTranslationCallback
that is used to display/hide the translated
information.
[Android.Runtime.Register("setViewTranslationCallback", "(Landroid/view/translation/ViewTranslationCallback;)V", "GetSetViewTranslationCallback_Landroid_view_translation_ViewTranslationCallback_Handler", ApiSince=31)]
public virtual void SetViewTranslationCallback (Android.Views.Translation.IViewTranslationCallback callback);
[<Android.Runtime.Register("setViewTranslationCallback", "(Landroid/view/translation/ViewTranslationCallback;)V", "GetSetViewTranslationCallback_Landroid_view_translation_ViewTranslationCallback_Handler", ApiSince=31)>]
abstract member SetViewTranslationCallback : Android.Views.Translation.IViewTranslationCallback -> unit
override this.SetViewTranslationCallback : Android.Views.Translation.IViewTranslationCallback -> unit
Parameters
- callback
- IViewTranslationCallback
a ViewTranslationCallback
that is used to control how to display the
translated information
- Attributes
Remarks
Sets a ViewTranslationCallback
that is used to display/hide the translated information. Developers can provide the customized implementation for show/hide translated information.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.