RuntimePermission 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 |
|---|---|
| RuntimePermission(String) |
Creates a legacy permission object. Android ignores |
| RuntimePermission(String, String) |
Creates a legacy permission object. Android ignores |
RuntimePermission(String)
Creates a legacy permission object. Android ignores name and stores an empty permission name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public RuntimePermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.RuntimePermission : string -> Java.Lang.RuntimePermission
Parameters
- name
- String
Ignored on Android.
- Attributes
Remarks
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
RuntimePermission(String, String)
Creates a legacy permission object. Android ignores name and actions and stores an empty permission name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public RuntimePermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Lang.RuntimePermission : string * string -> Java.Lang.RuntimePermission
Parameters
- name
- String
Ignored on Android.
- actions
- String
Ignored on Android.
- Attributes
Remarks
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.