BasicPermission 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 |
|---|---|
| BasicPermission(String) |
Initializes the Android compatibility permission with an empty name, ignoring the supplied name. |
| BasicPermission(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| BasicPermission(String, String) |
Initializes the Android compatibility permission with an empty name, ignoring both arguments. |
BasicPermission(String)
Initializes the Android compatibility permission with an empty name, ignoring the supplied name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public BasicPermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.BasicPermission : string -> Java.Security.BasicPermission
Parameters
- name
- String
Ignored on Android.
- Attributes
Remarks
On Android, this constructor ignores name and initializes the permission with an empty name.
Java reference for java.security.BasicPermission.BasicPermission.
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
BasicPermission(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected BasicPermission(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.BasicPermission : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.BasicPermission
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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
BasicPermission(String, String)
Initializes the Android compatibility permission with an empty name, ignoring both arguments.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public BasicPermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Security.BasicPermission : string * string -> Java.Security.BasicPermission
Parameters
- name
- String
Ignored on Android.
- actions
- String
Ignored on Android.
- Attributes
Remarks
On Android, this constructor ignores both arguments and initializes the permission with an empty name.
Java reference for java.security.BasicPermission.BasicPermission.
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.