ReflectPermission 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 |
|---|---|
| ReflectPermission(String) |
Creates a |
| ReflectPermission(String, String) |
Creates a |
ReflectPermission(String)
Creates a ReflectPermission. Android ignores name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ReflectPermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.Reflect.ReflectPermission : string -> Java.Lang.Reflect.ReflectPermission
Parameters
- name
- String
A permission name. Android does not store this value.
- Attributes
Remarks
Android does not use this legacy security class. This constructor does not store name: Name returns an empty string.
Java documentation for java.lang.reflect.ReflectPermission.ReflectPermission(String).
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
ReflectPermission(String, String)
Creates a ReflectPermission. Android ignores name and actions.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public ReflectPermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Lang.Reflect.ReflectPermission : string * string -> Java.Lang.Reflect.ReflectPermission
Parameters
- name
- String
A permission name. Android does not store this value.
- actions
- String
Should be null; this value is ignored.
- Attributes
Remarks
Android does not use this legacy security class. This constructor does not store name or actions: Name and Actions return empty strings.
Java documentation for java.lang.reflect.ReflectPermission.ReflectPermission(String, String).
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.