다음을 통해 공유


ActivityManager.RunningAppProcessInfo.ReasonServiceInUse Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.ImportanceReason enum directly instead of this field.

Constant for #importanceReasonCode: one of the application's content providers is being used by another process.

[Android.Runtime.Register("REASON_SERVICE_IN_USE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ImportanceReason enum directly instead of this field.", true)]
public const Android.App.ImportanceReason ReasonServiceInUse = 2;
[<Android.Runtime.Register("REASON_SERVICE_IN_USE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ImportanceReason enum directly instead of this field.", true)>]
val mutable ReasonServiceInUse : Android.App.ImportanceReason

Field Value

Value = 2

Implements

Attributes

Remarks

Constant for #importanceReasonCode: one of the application's content providers is being used by another process. The pid of the client process is in #importanceReasonPid and the target provider in this process is in #importanceReasonComponent.

Java documentation for android.app.ActivityManager.RunningAppProcessInfo.REASON_SERVICE_IN_USE.

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