Lenguaje

ApplicationStartInfo.LaunchMode Propiedad

Definición

Una instrucción sobre cómo se debe iniciar la actividad.

public Android.App.ApplicationStartInfoLaunchMode LaunchMode { [Android.Runtime.Register("getLaunchMode", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getLaunchMode", "()I", "", ApiSince=35)>]
member this.LaunchMode : Android.App.ApplicationStartInfoLaunchMode

Valor de propiedad

El valor es uno de los siguientes: LAUNCH_MODE_STANDARD LAUNCH_MODE_SINGLE_TOP LAUNCH_MODE_SINGLE_INSTANCE LAUNCH_MODE_SINGLE_TASK LAUNCH_MODE_SINGLE_INSTANCE_PER_TASK

Atributos

Comentarios

Una instrucción sobre cómo se debe iniciar la actividad. Hay cinco modos que funcionan junto con marcas de actividad en objetos Intent para determinar qué debe ocurrir cuando se llama a la actividad para controlar una intención. Modos: LAUNCH_MODE_STANDARD LAUNCH_MODE_SINGLE_TOP LAUNCH_MODE_SINGLE_INSTANCE LAUNCH_MODE_SINGLE_TASK LAUNCH_MODE_SINGLE_INSTANCE_PER_TASK Nota: el campo se establecerá para cualquier valor getStartupState().

Referencia de Android para android.app.ApplicationStartInfo.getLaunchMode.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a