IUiTranslationStateCallback.OnPaused 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.
Overloads
OnPaused() |
The system is requesting that the application temporarily show the UI contents in their original language. |
OnPaused(String) |
The system is requesting that the application temporarily show the UI contents in their original language. |
OnPaused()
The system is requesting that the application temporarily show the UI contents in their original language.
[Android.Runtime.Register("onPaused", "()V", "GetOnPausedHandler:Android.Views.Translation.IUiTranslationStateCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnPaused ();
[<Android.Runtime.Register("onPaused", "()V", "GetOnPausedHandler:Android.Views.Translation.IUiTranslationStateCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnPaused : unit -> unit
- Attributes
Remarks
The system is requesting that the application temporarily show the UI contents in their original language.
Apps should implement #onPaused(String)
as well if they need the name of the package that owns the activity being translated.
Java documentation for android.view.translation.UiTranslationStateCallback.onPaused()
.
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
OnPaused(String)
The system is requesting that the application temporarily show the UI contents in their original language.
[Android.Runtime.Register("onPaused", "(Ljava/lang/String;)V", "GetOnPaused_Ljava_lang_String_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public virtual void OnPaused (string packageName);
[<Android.Runtime.Register("onPaused", "(Ljava/lang/String;)V", "GetOnPaused_Ljava_lang_String_Handler:Android.Views.Translation.IUiTranslationStateCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnPaused : string -> unit
override this.OnPaused : string -> unit
Parameters
- packageName
- String
- Attributes
Remarks
The system is requesting that the application temporarily show the UI contents in their original language.
Apps <em>may</em> implement #onPaused()
instead if they don't need the name of the package that owns the activity being translated.
Apps with minSdkVersion lower than android.os.Build.VERSION_CODES#TIRAMISU
<em>must</em> implement #onPaused()
if they want to handle the "paused" event.
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.