Package org.robovm.apple.homekit
Enum HMErrorCode
- java.lang.Object
-
- java.lang.Enum<HMErrorCode>
-
- org.robovm.apple.homekit.HMErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HMErrorCode>
,NSErrorCode
,org.robovm.rt.bro.ValuedEnum
public enum HMErrorCode extends java.lang.Enum<HMErrorCode> implements NSErrorCode
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static HMErrorCode
valueOf(long n)
Returns the enum constant of this type with the specified name.static HMErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HMErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.- Since:
- Available in iOS 11.0 and later.
-
ObjectWithSimilarNameExists
public static final HMErrorCode ObjectWithSimilarNameExists
- Since:
- Available in iOS 12.0 and later.
-
-
Method Detail
-
values
public static HMErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HMErrorCode c : HMErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HMErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-