ServiceInfo.FlagExternalService Field

Definition

Caution

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

Bit in #flags: If set, the service can be bound and run in the calling application's package, rather than the package in which it is declared.

[Android.Runtime.Register("FLAG_EXTERNAL_SERVICE", ApiSince=24)]
[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 FlagExternalService = 4;
[<Android.Runtime.Register("FLAG_EXTERNAL_SERVICE", ApiSince=24)>]
[<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 FlagExternalService : Android.Content.PM.ServiceInfoFlags

Field Value

Value = 4

Implements

Attributes

Remarks

Bit in #flags: If set, the service can be bound and run in the calling application's package, rather than the package in which it is declared. Set from android.R.attr#externalService attribute.

Java documentation for android.content.pm.ServiceInfo.FLAG_EXTERNAL_SERVICE.

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