Android.Content.Bind.AutoCreate Field

Context.BindService(Intent, Android.Content.IServiceConnection, Android.Content.IServiceConnection) Android.App.Service.OnStartCommand(Intent, Android.App.StartCommandFlags, Android.App.StartCommandFlags) Context.StartService(Intent)

Note that prior to Android.OS.Build.VERSION_CODES.IceCreamSandwich, not supplying this flag would also impact how important the system consider's the target service's process to be. When set, the only way for it to be raised was by binding from a service in which case it will only be important when that activity is in the foreground. Now to achieve this behavior you must explicitly supply the new flag Bind.AdjustWithActivity. For compatibility, old applications that don't specify Bind.AutoCreate will automatically have the flags Bind.WaivePriority and Bind.AdjustWithActivity set for them in order to achieve the same result.

Syntax

Bind AutoCreate

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0