View.OnVirtualViewTranslationResponses(LongSparseArray) 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.
Called when the content from View#onCreateVirtualViewTranslationRequests
had been
translated by the TranslationService.
[Android.Runtime.Register("onVirtualViewTranslationResponses", "(Landroid/util/LongSparseArray;)V", "GetOnVirtualViewTranslationResponses_Landroid_util_LongSparseArray_Handler", ApiSince=31)]
public virtual void OnVirtualViewTranslationResponses (Android.Util.LongSparseArray response);
[<Android.Runtime.Register("onVirtualViewTranslationResponses", "(Landroid/util/LongSparseArray;)V", "GetOnVirtualViewTranslationResponses_Landroid_util_LongSparseArray_Handler", ApiSince=31)>]
abstract member OnVirtualViewTranslationResponses : Android.Util.LongSparseArray -> unit
override this.OnVirtualViewTranslationResponses : Android.Util.LongSparseArray -> unit
Parameters
- response
- LongSparseArray
a ViewTranslationResponse
SparseArray for the request that send by
View#onCreateVirtualViewTranslationRequests
that contains the translated information
which can be shown in the view. The key of SparseArray is the virtual child ids.
- Attributes
Remarks
Called when the content from View#onCreateVirtualViewTranslationRequests
had been translated by the TranslationService.
The default implementation does nothing.
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.