Inherits com.gallagher.security.mobileaccess.StringValueConvertible.
◆ stringValue()
String com.gallagher.security.mobileaccess.DeleteOption.stringValue |
( |
| ) |
|
- Returns
- a programmatic string representation of this object. This value is NOT localised and is stable, so you can make logical decisions based on it's value
Implements com.gallagher.security.mobileaccess.StringValueConvertible.
31 {
32 switch (this) {
34 return "default";
36 return "allowOffline";
38 return "offlineOnly";
39 default:
40 throw new FatalError("Impossible value for DeleteOption enum");
41 }
42 }
DEFAULT
Definition: DeleteOption.java:16
OFFLINE_ONLY
Definition: DeleteOption.java:27
ALLOW_OFFLINE
Definition: DeleteOption.java:21
◆ ALLOW_OFFLINE
com.gallagher.security.mobileaccess.DeleteOption.ALLOW_OFFLINE |
Deletes from the Gallagher cloud and phone; Continue with phone delete if the cloud cannot be contacted.
◆ DEFAULT
com.gallagher.security.mobileaccess.DeleteOption.DEFAULT |
Deletes from the Gallagher cloud and phone; Fail if the cloud cannot be contacted.
◆ OFFLINE_ONLY
com.gallagher.security.mobileaccess.DeleteOption.OFFLINE_ONLY |
Not recommended. Deletes from the phone only. Does not attempt to contact the Gallagher cloud at all
The documentation for this enum was generated from the following file: