Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

Guard

java.security.Guard
Known Indirect Subclasses

Class Overview

Guard implementors protect access to other objects.

Summary

Public Methods
abstract void checkGuard ( Object object)
Checks whether access to the specified Object should be granted.

Public Methods

public abstract void checkGuard ( Object object)

Added in API level 1

Checks whether access to the specified Object should be granted. This method returns silently if access is granted, otherwise a SecurityException is thrown.

Parameters
object the object to be protected by this Guard .
Throws
SecurityException if access is not granted.