Språk

FilePermission.Implies(Permission) Method

Definition

Determines whether this permission implies the specified permission.

[Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "")]
public override bool Implies(Java.Security.Permission? p);
[<Android.Runtime.Register("implies", "(Ljava/security/Permission;)Z", "")>]
override this.Implies : Java.Security.Permission -> bool

Parameters

p
Permission

The permission to test.

Returns

true if this permission implies p; otherwise, false.

Attributes

Remarks

On Android 4.0 (API level 14) and later, this legacy implementation ignores p and returns true, even when the argument is null. It does not evaluate file paths or requested actions.

Java reference for java.io.FilePermission.implies.

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