Android.Resource.Attribute.StopWithTask Field
If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application.

Value: 16843626

Syntax

[Android.Runtime.Register("stopWithTask")]
public const int StopWithTask

Remarks

If set to true, this service with be automatically stopped when the user remove a task rooted in an activity owned by the application. The default is false.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

[Android Documentation]

Requirements

Namespace: Android
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14