SecurityManager.CheckRead Method

Definition

Overloads

CheckRead(FileDescriptor)

[Android.Runtime.Register("checkRead", "(Ljava/io/FileDescriptor;)V", "GetCheckRead_Ljava_io_FileDescriptor_Handler")]
public virtual void CheckRead(Java.IO.FileDescriptor? fd);
[<Android.Runtime.Register("checkRead", "(Ljava/io/FileDescriptor;)V", "GetCheckRead_Ljava_io_FileDescriptor_Handler")>]
abstract member CheckRead : Java.IO.FileDescriptor -> unit
override this.CheckRead : Java.IO.FileDescriptor -> unit

Parameters

fd
FileDescriptor

The file descriptor whose access is being checked.

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

CheckRead(String)

[Android.Runtime.Register("checkRead", "(Ljava/lang/String;)V", "GetCheckRead_Ljava_lang_String_Handler")]
public virtual void CheckRead(string? file);
[<Android.Runtime.Register("checkRead", "(Ljava/lang/String;)V", "GetCheckRead_Ljava_lang_String_Handler")>]
abstract member CheckRead : string -> unit
override this.CheckRead : string -> unit

Parameters

file
String

The file path whose access is being checked.

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

CheckRead(String, Object)

[Android.Runtime.Register("checkRead", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetCheckRead_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual void CheckRead(string? file, Java.Lang.Object? context);
[<Android.Runtime.Register("checkRead", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetCheckRead_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member CheckRead : string * Java.Lang.Object -> unit
override this.CheckRead : string * Java.Lang.Object -> unit

Parameters

file
String

The file path whose access is being checked.

context
Object

The security context used for the access check.

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