Taal

SerializablePermission Constructors

Definition

Overloads

SerializablePermission(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SerializablePermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.SerializablePermission : string -> Java.IO.SerializablePermission

Parameters

name
String

the name of the SerializablePermission.

Attributes

Remarks

Creates a new SerializablePermission with the specified name. The name is the symbolic name of the SerializablePermission, such as "enableSubstitution", etc.

Java reference for java.io.SerializablePermission.SerializablePermission.

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

SerializablePermission(String, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public SerializablePermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.IO.SerializablePermission : string * string -> Java.IO.SerializablePermission

Parameters

name
String

the name of the SerializablePermission.

actions
String

currently unused and must be set to null

Attributes

Remarks

Creates a new SerializablePermission object with the specified name. The name is the symbolic name of the SerializablePermission, and the actions String is currently unused and should be null.

Java reference for java.io.SerializablePermission.SerializablePermission.

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