Service.InterfaceConsts.TrimMemoryRunningCritical 필드

정의

주의

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

수준 #onTrimMemory(int): 프로세스는 소모성 백그라운드 프로세스가 아니지만 디바이스가 메모리가 매우 부족하여 백그라운드 프로세스를 계속 실행할 수 없게 됩니다.

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

필드 값

Value = 15
특성

설명

수준 #onTrimMemory(int): 프로세스는 소모성 백그라운드 프로세스가 아니지만 디바이스가 메모리가 매우 부족하여 백그라운드 프로세스를 계속 실행할 수 없게 됩니다. 실행 중인 프로세스는 해당 메모리를 다른 곳에서 사용할 수 있도록 가능한 한 많은 중요하지 않은 리소스를 확보해야 합니다. 이 호출 후에 #onLowMemory() 발생하는 다음 작업은 백그라운드에서 아무 것도 유지할 수 없다는 것을 보고하기 위해 발생합니다. 이는 사용자에게 특히 영향을 줄 수 있는 상황입니다.

에 대한 Java 설명서입니다 android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL.

이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상