Interface CheckNameAvailabilityResult
-
public interface CheckNameAvailabilityResultThe result of check name availability.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringmessage()Gets the message explaining the reason of name unavailability in more detail.booleannameAvailable()Gets whether name is available to use.CheckNameAvailabilityReasonreason()Gets the reason that the name could not be used.
-
-
-
Method Detail
-
nameAvailable
boolean nameAvailable()
Gets whether name is available to use.- Returns:
- whether name is available to use.
-
reason
CheckNameAvailabilityReason reason()
Gets the reason that the name could not be used.- Returns:
- the reason that the name could not be used.
-
message
String message()
Gets the message explaining the reason of name unavailability in more detail.- Returns:
- an error message explaining the reason of name unavailability in more detail.
-
-