Context.SystemHealthService Field

Definition

Use with #getSystemService(String) to retrieve a android.os.health.SystemHealthManager for accessing system health (battery, power, memory, etc) metrics.

[Android.Runtime.Register("SYSTEM_HEALTH_SERVICE", ApiSince=24)]
public const string SystemHealthService;
[<Android.Runtime.Register("SYSTEM_HEALTH_SERVICE", ApiSince=24)>]
val mutable SystemHealthService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.os.health.SystemHealthManager for accessing system health (battery, power, memory, etc) metrics.

Java documentation for android.content.Context.SYSTEM_HEALTH_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