Sdílet prostřednictvím


IViewTranslationCallback.OnHideTranslation(View) Method

Definition

Called when user wants to view the original content instead of the translated content.

[Android.Runtime.Register("onHideTranslation", "(Landroid/view/View;)Z", "GetOnHideTranslation_Landroid_view_View_Handler:Android.Views.Translation.IViewTranslationCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public bool OnHideTranslation (Android.Views.View view);
[<Android.Runtime.Register("onHideTranslation", "(Landroid/view/View;)Z", "GetOnHideTranslation_Landroid_view_View_Handler:Android.Views.Translation.IViewTranslationCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnHideTranslation : Android.Views.View -> bool

Parameters

view
View

Returns

true if the View handles hiding the translation.

Attributes

Remarks

Called when user wants to view the original content instead of the translated content. This method will not be called before View#onViewTranslationResponse or View#onVirtualViewTranslationResponses.

Java documentation for android.view.translation.ViewTranslationCallback.onHideTranslation(android.view.View).

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.

Applies to