com.ibm.security.access.mobile.authentication

Class MfaUnregisterDeviceResult

  • java.lang.Object
    • com.ibm.security.access.mobile.authentication.MfaUnregisterDeviceResult
  • All Implemented Interfaces:
    IResult


    public class MfaUnregisterDeviceResult
    extends java.lang.Object
    implements IResult
    Holds the result of unregistrating a device
    Since:
    1.2.0
    Version:
    1.2.8
    • Constructor Detail

      • MfaUnregisterDeviceResult

        public MfaUnregisterDeviceResult()
        Returns an instance.
      • MfaUnregisterDeviceResult

        public MfaUnregisterDeviceResult(MobileKitException mobileKitException)
        Returns a new MfaUnregisterDeviceResult in case an error was returned
        Parameters:
        mobileKitException - the MobileKitException that was thrown
        Throws:
        java.lang.IllegalArgumentException - if parameter is null
    • Method Detail

      • hasError

        public boolean hasError()
        Returns whether to indicate an error.
        Returns:
        true if there has been an error,
        false otherwise
      • getErrorDescription

        public java.lang.String getErrorDescription()
        Returns detailed information about the error.
        Specified by:
        getErrorDescription in interface IResult
        Returns:
        the detailed information of the error or null if unknown.