Enum HMErrorCode

java.lang.Object
java.lang.Enum<HMErrorCode>
org.robovm.apple.homekit.HMErrorCode
All Implemented Interfaces:
Serializable, Comparable<HMErrorCode>, NSErrorCode, ValuedEnum

public enum HMErrorCode
extends Enum<HMErrorCode>
implements NSErrorCode
  • Enum Constant Details

    • UnexpectedError

      public static final HMErrorCode UnexpectedError
      Since:
      Available in iOS 11.2 and later.
    • AlreadyExists

      public static final HMErrorCode AlreadyExists
    • NotFound

      public static final HMErrorCode NotFound
    • InvalidParameter

      public static final HMErrorCode InvalidParameter
    • AccessoryNotReachable

      public static final HMErrorCode AccessoryNotReachable
    • ReadOnlyCharacteristic

      public static final HMErrorCode ReadOnlyCharacteristic
    • WriteOnlyCharacteristic

      public static final HMErrorCode WriteOnlyCharacteristic
    • NotificationNotSupported

      public static final HMErrorCode NotificationNotSupported
    • OperationTimedOut

      public static final HMErrorCode OperationTimedOut
    • AccessoryPoweredOff

      public static final HMErrorCode AccessoryPoweredOff
    • AccessDenied

      public static final HMErrorCode AccessDenied
    • ObjectAssociatedToAnotherHome

      public static final HMErrorCode ObjectAssociatedToAnotherHome
    • ObjectNotAssociatedToAnyHome

      public static final HMErrorCode ObjectNotAssociatedToAnyHome
    • ObjectAlreadyAssociatedToHome

      public static final HMErrorCode ObjectAlreadyAssociatedToHome
    • AccessoryIsBusy

      public static final HMErrorCode AccessoryIsBusy
    • OperationInProgress

      public static final HMErrorCode OperationInProgress
    • AccessoryOutOfResources

      public static final HMErrorCode AccessoryOutOfResources
    • InsufficientPrivileges

      public static final HMErrorCode InsufficientPrivileges
    • AccessoryPairingFailed

      public static final HMErrorCode AccessoryPairingFailed
    • InvalidDataFormatSpecified

      public static final HMErrorCode InvalidDataFormatSpecified
    • NilParameter

      public static final HMErrorCode NilParameter
    • UnconfiguredParameter

      public static final HMErrorCode UnconfiguredParameter
    • InvalidClass

      public static final HMErrorCode InvalidClass
    • OperationCancelled

      public static final HMErrorCode OperationCancelled
    • RoomForHomeCannotBeInZone

      public static final HMErrorCode RoomForHomeCannotBeInZone
    • NoActionsInActionSet

      public static final HMErrorCode NoActionsInActionSet
    • NoRegisteredActionSets

      public static final HMErrorCode NoRegisteredActionSets
    • MissingParameter

      public static final HMErrorCode MissingParameter
    • FireDateInPast

      public static final HMErrorCode FireDateInPast
    • RoomForHomeCannotBeUpdated

      public static final HMErrorCode RoomForHomeCannotBeUpdated
    • ActionInAnotherActionSet

      public static final HMErrorCode ActionInAnotherActionSet
    • ObjectWithSimilarNameExistsInHome

      public static final HMErrorCode ObjectWithSimilarNameExistsInHome
    • HomeWithSimilarNameExists

      public static final HMErrorCode HomeWithSimilarNameExists
    • RenameWithSimilarName

      public static final HMErrorCode RenameWithSimilarName
    • CannotRemoveNonBridgeAccessory

      public static final HMErrorCode CannotRemoveNonBridgeAccessory
    • NameContainsProhibitedCharacters

      public static final HMErrorCode NameContainsProhibitedCharacters
    • NameDoesNotStartWithValidCharacters

      public static final HMErrorCode NameDoesNotStartWithValidCharacters
    • UserIDNotEmailAddress

      public static final HMErrorCode UserIDNotEmailAddress
    • UserDeclinedAddingUser

      public static final HMErrorCode UserDeclinedAddingUser
    • UserDeclinedRemovingUser

      public static final HMErrorCode UserDeclinedRemovingUser
    • UserDeclinedInvite

      public static final HMErrorCode UserDeclinedInvite
    • UserManagementFailed

      public static final HMErrorCode UserManagementFailed
    • RecurrenceTooSmall

      public static final HMErrorCode RecurrenceTooSmall
    • InvalidValueType

      public static final HMErrorCode InvalidValueType
    • ValueLowerThanMinimum

      public static final HMErrorCode ValueLowerThanMinimum
    • ValueHigherThanMaximum

      public static final HMErrorCode ValueHigherThanMaximum
    • StringLongerThanMaximum

      public static final HMErrorCode StringLongerThanMaximum
    • HomeAccessNotAuthorized

      public static final HMErrorCode HomeAccessNotAuthorized
    • OperationNotSupported

      public static final HMErrorCode OperationNotSupported
    • MaximumObjectLimitReached

      public static final HMErrorCode MaximumObjectLimitReached
    • AccessorySentInvalidResponse

      public static final HMErrorCode AccessorySentInvalidResponse
    • StringShorterThanMinimum

      public static final HMErrorCode StringShorterThanMinimum
    • GenericError

      public static final HMErrorCode GenericError
    • SecurityFailure

      public static final HMErrorCode SecurityFailure
    • CommunicationFailure

      public static final HMErrorCode CommunicationFailure
    • MessageAuthenticationFailed

      public static final HMErrorCode MessageAuthenticationFailed
    • InvalidMessageSize

      public static final HMErrorCode InvalidMessageSize
    • AccessoryDiscoveryFailed

      public static final HMErrorCode AccessoryDiscoveryFailed
    • ClientRequestError

      public static final HMErrorCode ClientRequestError
    • AccessoryResponseError

      public static final HMErrorCode AccessoryResponseError
    • NameDoesNotEndWithValidCharacters

      public static final HMErrorCode NameDoesNotEndWithValidCharacters
    • AccessoryIsBlocked

      public static final HMErrorCode AccessoryIsBlocked
    • InvalidAssociatedServiceType

      public static final HMErrorCode InvalidAssociatedServiceType
    • ActionSetExecutionFailed

      public static final HMErrorCode ActionSetExecutionFailed
    • ActionSetExecutionPartialSuccess

      public static final HMErrorCode ActionSetExecutionPartialSuccess
    • ActionSetExecutionInProgress

      public static final HMErrorCode ActionSetExecutionInProgress
    • AccessoryOutOfCompliance

      public static final HMErrorCode AccessoryOutOfCompliance
    • DataResetFailure

      public static final HMErrorCode DataResetFailure
    • NotificationAlreadyEnabled

      public static final HMErrorCode NotificationAlreadyEnabled
    • RecurrenceMustBeOnSpecifiedBoundaries

      public static final HMErrorCode RecurrenceMustBeOnSpecifiedBoundaries
    • DateMustBeOnSpecifiedBoundaries

      public static final HMErrorCode DateMustBeOnSpecifiedBoundaries
    • CannotActivateTriggerTooFarInFuture

      public static final HMErrorCode CannotActivateTriggerTooFarInFuture
    • RecurrenceTooLarge

      public static final HMErrorCode RecurrenceTooLarge
    • ReadWritePartialSuccess

      public static final HMErrorCode ReadWritePartialSuccess
    • ReadWriteFailure

      public static final HMErrorCode ReadWriteFailure
    • NotSignedIntoiCloud

      public static final HMErrorCode NotSignedIntoiCloud
    • KeychainSyncNotEnabled

      public static final HMErrorCode KeychainSyncNotEnabled
    • CloudDataSyncInProgress

      public static final HMErrorCode CloudDataSyncInProgress
    • NetworkUnavailable

      public static final HMErrorCode NetworkUnavailable
    • AddAccessoryFailed

      public static final HMErrorCode AddAccessoryFailed
    • MissingEntitlement

      public static final HMErrorCode MissingEntitlement
    • CannotUnblockNonBridgeAccessory

      public static final HMErrorCode CannotUnblockNonBridgeAccessory
    • DeviceLocked

      public static final HMErrorCode DeviceLocked
    • CannotRemoveBuiltinActionSet

      public static final HMErrorCode CannotRemoveBuiltinActionSet
      Since:
      Available in iOS 9.0 and later.
    • LocationForHomeDisabled

      public static final HMErrorCode LocationForHomeDisabled
      Since:
      Available in iOS 9.0 and later.
    • NotAuthorizedForLocationServices

      public static final HMErrorCode NotAuthorizedForLocationServices
      Since:
      Available in iOS 9.0 and later.
    • ReferToUserManual

      public static final HMErrorCode ReferToUserManual
      Since:
      Available in iOS 9.3 and later.
    • InvalidOrMissingAuthorizationData

      public static final HMErrorCode InvalidOrMissingAuthorizationData
      Since:
      Available in iOS 10.0 and later.
    • BridgedAccessoryNotReachable

      public static final HMErrorCode BridgedAccessoryNotReachable
      Since:
      Available in iOS 10.0 and later.
    • NotAuthorizedForMicrophoneAccess

      public static final HMErrorCode NotAuthorizedForMicrophoneAccess
      Since:
      Available in iOS 10.0 and later.
    • IncompatibleNetwork

      public static final HMErrorCode IncompatibleNetwork
      Since:
      Available in iOS 10.2 and later.
    • NoHomeHub

      public static final HMErrorCode NoHomeHub
      Since:
      Available in iOS 11.0 and later.
    • NoCompatibleHomeHub

      public static final HMErrorCode NoCompatibleHomeHub
      Since:
      Available in iOS 11.0 and later.
    • IncompatibleAccessory

      public static final HMErrorCode IncompatibleAccessory
      Since:
      Available in iOS 11.3 and later.
    • IncompatibleHomeHub

      @Deprecated public static final HMErrorCode IncompatibleHomeHub
      Deprecated.
      Deprecated in iOS 11.0. Use HMErrorCodeNoCompatibleHomeHub
      Since:
      Available in iOS 11.0 and later.
    • ObjectWithSimilarNameExists

      public static final HMErrorCode ObjectWithSimilarNameExists
      Since:
      Available in iOS 12.0 and later.
    • OwnershipFailure

      public static final HMErrorCode OwnershipFailure
      Since:
      Available in iOS 13.0 and later.
    • MaximumAccessoriesOfTypeInHome

      public static final HMErrorCode MaximumAccessoriesOfTypeInHome
      Since:
      Available in iOS 13.0 and later.
    • WiFiCredentialGenerationFailed

      public static final HMErrorCode WiFiCredentialGenerationFailed
      Since:
      Available in iOS 13.0 and later.
    • EnterpriseNetworkNotSupported

      public static final HMErrorCode EnterpriseNetworkNotSupported
      Since:
      Available in iOS 14.0 and later.
    • TimedOutWaitingForAccessory

      public static final HMErrorCode TimedOutWaitingForAccessory
      Since:
      Available in iOS 14.0 and later.
    • AccessoryCommunicationFailure

      public static final HMErrorCode AccessoryCommunicationFailure
      Since:
      Available in iOS 14.0 and later.
    • FailedToJoinNetwork

      public static final HMErrorCode FailedToJoinNetwork
      Since:
      Available in iOS 14.0 and later.
    • AccessoryIsSuspended

      public static final HMErrorCode AccessoryIsSuspended
      Since:
      Available in iOS 15.0 and later.
  • Method Details

    • values

      public static HMErrorCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HMErrorCode 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 name
      NullPointerException - if the argument is null
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static HMErrorCode valueOf​(long n)
      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:
      n - 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 name
      NullPointerException - if the argument is null