Package com.pingidentity.sdk
Enum DeviceSharingType
- java.lang.Object
-
- java.lang.Enum<DeviceSharingType>
-
- com.pingidentity.sdk.DeviceSharingType
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceSharingType>
public enum DeviceSharingType extends Enum<DeviceSharingType>
An enum used to indicate whether the user's device is shared or private.- Since:
- 9.2
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRIVATEAn upstream adapter indicated that the user's device is private.SHAREDAn upstream adapter indicated that the user's device is shared.UNSPECIFIEDNo adapter previously visited during the SSO has specified a device sharing type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceSharingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceSharingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final DeviceSharingType UNSPECIFIED
No adapter previously visited during the SSO has specified a device sharing type.
-
PRIVATE
public static final DeviceSharingType PRIVATE
An upstream adapter indicated that the user's device is private.
-
SHARED
public static final DeviceSharingType SHARED
An upstream adapter indicated that the user's device is shared.
-
-
Method Detail
-
values
public static DeviceSharingType[] 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 (DeviceSharingType c : DeviceSharingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceSharingType 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
-
-