Api.Response

  • This class represents a error of a request to a camera device.

    See more

    Declaration

    Swift

    public final class Error: CustomStringConvertible
  • The type of a error code of a request to a camera device.

    • networkError: Network error.
    • deviceNotFound: Device not found.
    • imageNotFound: There is no specified image.
    • invalidSetting: Invalid value.
    • invalidArgument: Invalid parameter.
    • noSpace: Not enough space.
    • forbidden: It was rejected by the camera state or request conditions.
    • unknownValue: Unknown value not supported.
    See more

    Declaration

    Swift

    public enum ErrorCode: CustomStringConvertible
  • This class for a response from a camera device.

    See more

    Declaration

    Swift

    public class Response
  • The type of a result responded form a camera device.

    • ok: ok
    • error: error
    See more

    Declaration

    Swift

    public enum Result: CustomStringConvertible