Sdílet prostřednictvím


Criteria.CostAllowed Property

Definition

Returns whether the provider is allowed to incur monetary cost. -or- Indicates whether the provider is allowed to incur monetary cost.

public virtual bool CostAllowed { [Android.Runtime.Register("isCostAllowed", "()Z", "GetIsCostAllowedHandler")] get; [Android.Runtime.Register("setCostAllowed", "(Z)V", "GetSetCostAllowed_ZHandler")] set; }
[<get: Android.Runtime.Register("isCostAllowed", "()Z", "GetIsCostAllowedHandler")>]
[<set: Android.Runtime.Register("setCostAllowed", "(Z)V", "GetSetCostAllowed_ZHandler")>]
member this.CostAllowed : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether the provider is allowed to incur monetary cost.

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

Property setter documentation:

Indicates whether the provider is allowed to incur monetary cost.

Java documentation for android.location.Criteria.setCostAllowed(boolean).

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