Taal

Permission.Actions Property

Definition

public abstract string? Actions { [Android.Runtime.Register("getActions", "()Ljava/lang/String;", "GetGetActionsHandler")] get; }
[<get: Android.Runtime.Register("getActions", "()Ljava/lang/String;", "GetGetActionsHandler")>]
member this.Actions : string

Property Value

the actions of this Permission.

Attributes

Remarks

Returns the actions as a String. This is abstract so subclasses can defer creating a String representation until one is needed. Subclasses should always return actions in what they consider to be their canonical form. For example, two FilePermission objects created via the following:

perm1 = new FilePermission(p1,"read,write");
perm2 = new FilePermission(p2,"write,read");

both return "read,write" when the getActions method is invoked.

Java reference for java.security.Permission.getActions.

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