All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bugvm.apple.homekit.HMErrorCode Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show newest version
/*
 * Copyright (C) 2013-2015 RoboVM AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bugvm.apple.homekit;

/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.corelocation.*;
/**/

/**/
/**
 * @since Available in iOS 8.0 and later.
 */
/**/
@ForceLinkClass(HMError.class)
/**/@Marshaler(ValuedEnum.AsMachineSizedSIntMarshaler.class)/**/
public enum /**/HMErrorCode/**/ implements NSErrorCode {
    /**/
    AlreadyExists(1L),
    NotFound(2L),
    InvalidParameter(3L),
    AccessoryNotReachable(4L),
    ReadOnlyCharacteristic(5L),
    WriteOnlyCharacteristic(6L),
    NotificationNotSupported(7L),
    OperationTimedOut(8L),
    AccessoryPoweredOff(9L),
    AccessDenied(10L),
    ObjectAssociatedToAnotherHome(11L),
    ObjectNotAssociatedToAnyHome(12L),
    ObjectAlreadyAssociatedToHome(13L),
    AccessoryIsBusy(14L),
    OperationInProgress(15L),
    AccessoryOutOfResources(16L),
    InsufficientPrivileges(17L),
    AccessoryPairingFailed(18L),
    InvalidDataFormatSpecified(19L),
    NilParameter(20L),
    UnconfiguredParameter(21L),
    InvalidClass(22L),
    OperationCancelled(23L),
    RoomForHomeCannotBeInZone(24L),
    NoActionsInActionSet(25L),
    NoRegisteredActionSets(26L),
    MissingParameter(27L),
    FireDateInPast(28L),
    RoomForHomeCannotBeUpdated(29L),
    ActionInAnotherActionSet(30L),
    ObjectWithSimilarNameExistsInHome(31L),
    HomeWithSimilarNameExists(32L),
    RenameWithSimilarName(33L),
    CannotRemoveNonBridgeAccessory(34L),
    NameContainsProhibitedCharacters(35L),
    NameDoesNotStartWithValidCharacters(36L),
    UserIDNotEmailAddress(37L),
    UserDeclinedAddingUser(38L),
    UserDeclinedRemovingUser(39L),
    UserDeclinedInvite(40L),
    UserManagementFailed(41L),
    RecurrenceTooSmall(42L),
    InvalidValueType(43L),
    ValueLowerThanMinimum(44L),
    ValueHigherThanMaximum(45L),
    StringLongerThanMaximum(46L),
    HomeAccessNotAuthorized(47L),
    OperationNotSupported(48L),
    MaximumObjectLimitReached(49L),
    AccessorySentInvalidResponse(50L),
    StringShorterThanMinimum(51L),
    GenericError(52L),
    SecurityFailure(53L),
    CommunicationFailure(54L),
    MessageAuthenticationFailed(55L),
    InvalidMessageSize(56L),
    AccessoryDiscoveryFailed(57L),
    ClientRequestError(58L),
    AccessoryResponseError(59L),
    NameDoesNotEndWithValidCharacters(60L),
    AccessoryIsBlocked(61L),
    InvalidAssociatedServiceType(62L),
    ActionSetExecutionFailed(63L),
    ActionSetExecutionPartialSuccess(64L),
    ActionSetExecutionInProgress(65L),
    AccessoryOutOfCompliance(66L),
    DataResetFailure(67L),
    NotificationAlreadyEnabled(68L),
    RecurrenceMustBeOnSpecifiedBoundaries(69L),
    DateMustBeOnSpecifiedBoundaries(70L),
    CannotActivateTriggerTooFarInFuture(71L),
    RecurrenceTooLarge(72L),
    ReadWritePartialSuccess(73L),
    ReadWriteFailure(74L),
    NotSignedIntoiCloud(75L),
    KeychainSyncNotEnabled(76L),
    CloudDataSyncInProgress(77L),
    NetworkUnavailable(78L),
    AddAccessoryFailed(79L),
    MissingEntitlement(80L),
    CannotUnblockNonBridgeAccessory(81L),
    DeviceLocked(82L),
    /**
     * @since Available in iOS 9.0 and later.
     */
    CannotRemoveBuiltinActionSet(83L),
    /**
     * @since Available in iOS 9.0 and later.
     */
    LocationForHomeDisabled(84L),
    /**
     * @since Available in iOS 9.0 and later.
     */
    NotAuthorizedForLocationServices(85L);
    /**/

    /**/
    /**/
    /**//**/
    /**//**/

    private final long n;

    private /**/HMErrorCode/**/(long n) { this.n = n; }
    public long value() { return n; }
    public static /**/HMErrorCode/**/ valueOf(long n) {
        for (/**/HMErrorCode/**/ v : values()) {
            if (v.n == n) {
                return v;
            }
        }
        throw new IllegalArgumentException("No constant with value " + n + " found in " 
            + /**/HMErrorCode/**/.class.getName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy