Class AvailableRealmsCallback

    • Field Detail

      • realmNames

        private String[] realmNames
    • Constructor Detail

      • AvailableRealmsCallback

        public AvailableRealmsCallback()
        Construct a new instance.
    • Method Detail

      • getRealmNames

        public String[] getRealmNames()
        Get the array of realm names that was set.
        Returns:
        the realm names array
      • setRealmNames

        public void setRealmNames​(String... realmNames)
        Set the realm names. None of the realm names may be null. The array is not copied, so care must be taken to avoid modifying the realm array after it is set.
        Parameters:
        realmNames - the realm names (may not be null, may not contain null)
      • isOptional

        public boolean isOptional()
        Description copied from interface: ExtendedCallback
        Determine if this callback is optional.
        Specified by:
        isOptional in interface ExtendedCallback
        Returns:
        true if the callback is optional, false if it is mandatory
      • needsInformation

        public boolean needsInformation()
        Description copied from interface: ExtendedCallback
        Determine if this callback is requesting information.
        Specified by:
        needsInformation in interface ExtendedCallback
        Returns:
        true if the callback is requesting information, false if it is only providing information