Språk

SecurityManager.CheckRead Method

Definition

Overloads

Name Description
CheckRead(FileDescriptor)

The Android base implementation does not check reading from the supplied file descriptor.

CheckRead(String)

The Android base implementation does not check reading from the named file.

CheckRead(String, Object)

The Android base implementation does not check file reading or its security context.

CheckRead(FileDescriptor)

The Android base implementation does not check reading from the supplied file descriptor.

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

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)

The Android base implementation does not check reading from the named file.

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

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)

The Android base implementation does not check file reading or its security context.

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

context
Object

The security context.

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