CameraImage

public protocol CameraImage

This protocol for handling with image information.

  • The name of the image.

    Declaration

    Swift

    var name: String
  • The type of the image.

    Declaration

    Swift

    var type: ImageType
  • The format of the image.

    Declaration

    Swift

    var format: ImageFormat
  • The date and time of image creation.

    Declaration

    Swift

    var dateTime: Date?
  • true if a thumbnail can be acquired.

    Declaration

    Swift

    var hasThumbnail: Bool
  • The storage having the image

    Declaration

    Swift

    var storage: CameraStorage?
  • Writes image data to a stream.

    Throws

    Declaration

    Swift

    func getData(outputStream: OutputStream) throws -> Response

    Parameters

    outputStream

    The written stream

    Return Value

    The operation response

  • Writes thumbnail data to a stream.

    Throws

    Declaration

    Swift

    func getThumbnail(outputStream: OutputStream) throws -> Response

    Parameters

    outputStream

    The written stream

    Return Value

    The operation response