SerializablePermission Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SerializablePermission(String) |
Creates an Android legacy permission object with an empty name. |
| SerializablePermission(String, String) |
Creates an Android legacy permission object with an empty name. |
SerializablePermission(String)
Creates an Android legacy permission object with an empty name.
[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 argument. Android's legacy implementation ignores this value.
- Attributes
Remarks
On Android, this constructor ignores the supplied name and passes an empty string to the base constructor.
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)
Creates an Android legacy permission object with an empty name.
[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 argument. Android's legacy implementation ignores this value.
- actions
- String
The actions argument. Android's legacy implementation ignores this value.
- Attributes
Remarks
On Android, this constructor ignores the supplied name and actions and passes empty strings to the base constructor.
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.