View.SetViewTranslationCallback(IViewTranslationCallback) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
集合 a ViewTranslationCallback 用來顯示或隱藏翻譯後的資訊。
[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
參數
- callback
- IViewTranslationCallback
ViewTranslationCallback A 用於控制如何顯示翻譯後的資訊
- 屬性
備註
集合 a ViewTranslationCallback 用來顯示或隱藏翻譯後的資訊。 開發者可以提供客製化的實作來顯示/隱藏翻譯資訊。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。