Sdílet prostřednictvím


RestrictionsManager.HasRestrictionsProvider Property

Definition

Called by an application to check if there is an active Restrictions Provider.

public virtual bool HasRestrictionsProvider { [Android.Runtime.Register("hasRestrictionsProvider", "()Z", "GetHasRestrictionsProviderHandler")] get; }
[<get: Android.Runtime.Register("hasRestrictionsProvider", "()Z", "GetHasRestrictionsProviderHandler")>]
member this.HasRestrictionsProvider : bool

Property Value

whether there is an active Restrictions Provider.

Attributes

Remarks

Called by an application to check if there is an active Restrictions Provider. If there isn't, #requestPermission(String, String, PersistableBundle) is not available.

Java documentation for android.content.RestrictionsManager.hasRestrictionsProvider().

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