Android Guides | Samples

Java.Security.GuardedObject Class

GuardedObject controls access to an object, by checking all requests for the object with a Guard.

See Also: GuardedObject

Syntax

[Android.Runtime.Register("java/security/GuardedObject", DoNotGenerateAcw=true)]
public class GuardedObject : Object, ISerializable, IDisposable

Remarks

GuardedObject controls access to an object, by checking all requests for the object with a Guard.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.GuardedObject are listed below.

See Also: Object

Public Constructors

Constructs a new instance of GuardedObject which protects access to the specified Object using the specified Guard.

Protected Constructors

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

Public Properties

[read-only]
ObjectObject. Returns the guarded Object if the associated Guard permits access.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.