Udostępnij za pośrednictwem


BasicPermission Constructors

Definition

Overloads

BasicPermission(String)
BasicPermission(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

BasicPermission(String, String)

BasicPermission(String)

[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
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

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

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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)

[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
actions
String
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