Lingua

ServiceInfo.FlagStopWithTask Campo

Definizione

Attenzione

This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.

Bit in #flags: se impostato, il servizio verrà arrestato automaticamente dal sistema se l'utente rimuove un'attività radicata in una delle attività dell'applicazione.

[Android.Runtime.Register("FLAG_STOP_WITH_TASK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ServiceInfoFlags FlagStopWithTask = 1;
[<Android.Runtime.Register("FLAG_STOP_WITH_TASK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagStopWithTask : Android.Content.PM.ServiceInfoFlags

Valore del campo

Value = 1

Implementazioni

Attributi

Commenti

Bit in #flags: se impostato, il servizio verrà arrestato automaticamente dal sistema se l'utente rimuove un'attività radicata in una delle attività dell'applicazione. Impostare dall'attributo android.R.attr#stopWithTask .

per android.content.pm.ServiceInfo.FLAG_STOP_WITH_TASK.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a