Megosztás a következőn keresztül:


Context.PowerService Field

Definition

Use with #getSystemService(String) to retrieve a android.os.PowerManager for controlling power management, including "wake locks," which let you keep the device on while you're running long tasks.

[Android.Runtime.Register("POWER_SERVICE")]
public const string PowerService;
[<Android.Runtime.Register("POWER_SERVICE")>]
val mutable PowerService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.os.PowerManager for controlling power management, including "wake locks," which let you keep the device on while you're running long tasks.

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