Share via


PathPermission Constructors

Definition

Overloads

PathPermission(Parcel)
PathPermission(IntPtr, JniHandleOwnership)

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

PathPermission(String, Pattern, String, String)

PathPermission(Parcel)

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public PathPermission (Android.OS.Parcel? src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.PM.PathPermission : Android.OS.Parcel -> Android.Content.PM.PathPermission

Parameters

src
Parcel
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

PathPermission(IntPtr, JniHandleOwnership)

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

protected PathPermission (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.PathPermission : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.PathPermission

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

PathPermission(String, Pattern, String, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")]
public PathPermission (string? pattern, Android.OS.Pattern type, string? readPermission, string? writePermission);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Content.PM.PathPermission : string * Android.OS.Pattern * string * string -> Android.Content.PM.PathPermission

Parameters

pattern
String
type
Pattern
readPermission
String
writePermission
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