UiTranslationManager.RegisterUiTranslationStateCallback(IExecutor, IUiTranslationStateCallback) 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.
Register for notifications of UI Translation state changes on the foreground activity.
[Android.Runtime.Register("registerUiTranslationStateCallback", "(Ljava/util/concurrent/Executor;Landroid/view/translation/UiTranslationStateCallback;)V", "", ApiSince=31)]
public void RegisterUiTranslationStateCallback (Java.Util.Concurrent.IExecutor executor, Android.Views.Translation.IUiTranslationStateCallback callback);
[<Android.Runtime.Register("registerUiTranslationStateCallback", "(Ljava/util/concurrent/Executor;Landroid/view/translation/UiTranslationStateCallback;)V", "", ApiSince=31)>]
member this.RegisterUiTranslationStateCallback : Java.Util.Concurrent.IExecutor * Android.Views.Translation.IUiTranslationStateCallback -> unit
Parameters
- executor
- IExecutor
- callback
- IUiTranslationStateCallback
the callback to register for receiving the state change notifications
- Attributes
Remarks
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.