共用方式為


SecurityManager.InClass(String) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("inClass", "(Ljava/lang/String;)Z", "GetInClass_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
protected virtual bool InClass (string? name);
[<Android.Runtime.Register("inClass", "(Ljava/lang/String;)Z", "GetInClass_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member InClass : string -> bool
override this.InClass : string -> bool

Parameters

name
String

Returns

Attributes

Remarks

This member is deprecated. Use #checkPermission instead.

Java documentation for java.lang.SecurityManager.inClass(java.lang.String).

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