Class DeviceIdentityPermission


  • public final class DeviceIdentityPermission
    extends java.lang.Object
    • Constructor Detail

      • DeviceIdentityPermission

        public DeviceIdentityPermission​(DeviceIdentity.Type type,
                                        Identity.Encoding encoding,
                                        boolean isRequired)
        Parameters:
        type - identity type
        encoding - identity encoding
        isRequired - if set to true, devices missing this identity will be ignored
      • DeviceIdentityPermission

        public DeviceIdentityPermission​(DeviceIdentity.Type type,
                                        Identity.Encoding encoding)
        Parameters:
        type - identity type
        encoding - identity encoding
    • Method Detail

      • getEncoding

        public Identity.Encoding getEncoding()
        Returns:
        device identity encoding
      • isRequired

        public boolean isRequired()
        Returns:
        true if identity is required