Package com.tapkey.mobile.model
Enum PermissionDetails.TriggerLockActionTypes
- java.lang.Object
-
- java.lang.Enum<PermissionDetails.TriggerLockActionTypes>
-
- com.tapkey.mobile.model.PermissionDetails.TriggerLockActionTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionDetails.TriggerLockActionTypes>
- Enclosing class:
- PermissionDetails
public static enum PermissionDetails.TriggerLockActionTypes extends Enum<PermissionDetails.TriggerLockActionTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DefaultTriggerLock
Default trigger lock action, specified by the firmwarePermanentLock
Lock the lock until the lock will be unlocked with unlocking trigger action.PermanentToggle
Permanent toggle the state of the lock.PermanentUnlock
Unlock the lock and keep it open.TemporaryUnlock
Unlock the lock for the short amount of opening.Unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PermissionDetails.TriggerLockActionTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionDetails.TriggerLockActionTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final PermissionDetails.TriggerLockActionTypes Unknown
-
DefaultTriggerLock
public static final PermissionDetails.TriggerLockActionTypes DefaultTriggerLock
Default trigger lock action, specified by the firmware
-
TemporaryUnlock
public static final PermissionDetails.TriggerLockActionTypes TemporaryUnlock
Unlock the lock for the short amount of opening. The lock will be locked again automatically.
-
PermanentUnlock
public static final PermissionDetails.TriggerLockActionTypes PermanentUnlock
Unlock the lock and keep it open. If the lock is already in an unlocked state nothing will happen.
-
PermanentLock
public static final PermissionDetails.TriggerLockActionTypes PermanentLock
Lock the lock until the lock will be unlocked with unlocking trigger action. If the lock is already in an locked state nothing will happen.
-
PermanentToggle
public static final PermissionDetails.TriggerLockActionTypes PermanentToggle
Permanent toggle the state of the lock. If the lock is in an open state the lock will be locked. If the lock is in an locked state the lock will be unlocked and stays open.
-
-
Method Detail
-
values
public static PermissionDetails.TriggerLockActionTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermissionDetails.TriggerLockActionTypes c : PermissionDetails.TriggerLockActionTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionDetails.TriggerLockActionTypes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-