Gallagher Mobile Connect SDK
Public Member Functions | Public Attributes | List of all members
com.gallagher.security.mobileaccess.DeleteOption Enum Reference

Inherits com.gallagher.security.mobileaccess.StringValueConvertible.

Public Member Functions

String stringValue ()
 
String stringValue ()
 

Public Attributes

 DEFAULT
 
 ALLOW_OFFLINE
 
 OFFLINE_ONLY
 

Member Function Documentation

◆ 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) {
33 case DEFAULT:
34 return "default";
35 case ALLOW_OFFLINE:
36 return "allowOffline";
37 case OFFLINE_ONLY:
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

Member Data Documentation

◆ 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: