Package | com.distriqt.extension.camera |
Class | public class AuthorisationStatus |
Inheritance | AuthorisationStatus Object |
Method | Defined By | ||
---|---|---|---|
Constructor
| AuthorisationStatus |
Constant | Defined By | ||
---|---|---|---|
AUTHORISED : String = authorised [static]
The client is authorized to access the hardware supporting a media type
| AuthorisationStatus | ||
DENIED : String = denied [static]
The user explicitly denied access to the hardware supporting a media type for the client
| AuthorisationStatus | ||
NOT_DETERMINED : String = not_determined [static]
Indicates that the user has not yet made a choice regarding whether the client can access the hardware. | AuthorisationStatus | ||
RESTRICTED : String = restricted [static]
The client is not authorized to access the hardware for the media type. | AuthorisationStatus | ||
SHOULD_EXPLAIN : String = should_explain [static]
This status means that the user has previously denied access. | AuthorisationStatus | ||
UNKNOWN : String [static]
An error occurred and the authorisation status is unknown
| AuthorisationStatus |
AuthorisationStatus | () | Constructor |
public function AuthorisationStatus()
Constructor
AUTHORISED | Constant |
public static const AUTHORISED:String = authorised
The client is authorized to access the hardware supporting a media type
DENIED | Constant |
public static const DENIED:String = denied
The user explicitly denied access to the hardware supporting a media type for the client
NOT_DETERMINED | Constant |
public static const NOT_DETERMINED:String = not_determined
Indicates that the user has not yet made a choice regarding whether the client can access the hardware.
RESTRICTED | Constant |
public static const RESTRICTED:String = restricted
The client is not authorized to access the hardware for the media type. The user cannot change the client's status, possibly due to active restrictions such as parental controls being in place.
SHOULD_EXPLAIN | Constant |
public static const SHOULD_EXPLAIN:String = should_explain
This status means that the user has previously denied access. You can ask for permission again however you should display some information beforehand explaining why you require this permission to encourage the user to grant it.
UNKNOWN | Constant |
public static const UNKNOWN:String
An error occurred and the authorisation status is unknown