Udostępnij za pośrednictwem


IViewTranslationCallback.OnClearTranslation(View) Method

Definition

Called when the translation state is no longer needed.

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

Parameters

view
View

Returns

true if the View handles clearing the translation.

Attributes

Remarks

Called when the translation state is no longer needed. It should restore the original content and clear all saved states.

Java documentation for android.view.translation.ViewTranslationCallback.onClearTranslation(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