Condividi tramite


Criteria.PowerRequirement Property

Definition

Returns a constant indicating the desired maximum power requirement. -or- Indicates the desired maximum power requirement.

public virtual Android.Locations.Power PowerRequirement { [Android.Runtime.Register("getPowerRequirement", "()I", "GetGetPowerRequirementHandler")] get; [Android.Runtime.Register("setPowerRequirement", "(I)V", "GetSetPowerRequirement_IHandler")] set; }
[<get: Android.Runtime.Register("getPowerRequirement", "()I", "GetGetPowerRequirementHandler")>]
[<set: Android.Runtime.Register("setPowerRequirement", "(I)V", "GetSetPowerRequirement_IHandler")>]
member this.PowerRequirement : Android.Locations.Power with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns a constant indicating the desired maximum power requirement.

Java documentation for android.location.Criteria.getPowerRequirement().

Property setter documentation:

Indicates the desired maximum power requirement. The power requirement parameter may be #NO_REQUIREMENT, #POWER_LOW, #POWER_MEDIUM, or #POWER_HIGH.

Java documentation for android.location.Criteria.setPowerRequirement(int).

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