StartCaptureResponse

public final class StartCaptureResponse: Response

This class for a response having a capture from a camera device.

  • The capture. This value is nil if the result is Result.error.

    Declaration

    Swift

    public let capture: Capture?
  • Constructs with the specified result.

    Declaration

    Swift

    public override init(result: Result)

    Parameters

    result

    The result

  • Constructs with the specified result and error.

    Declaration

    Swift

    public override init(result: Result, error: Error)

    Parameters

    result

    The result

    error

    The error

  • Constructs with the specified result and errors.

    Declaration

    Swift

    public override init(result: Result, errors: [Error])

    Parameters

    result

    The result

    errors

    The errors

  • Constructs with the specified result and capture.

    Declaration

    Swift

    public init(result: Result, capture: Capture)

    Parameters

    result

    The result

    capture

    The capture

  • Constructs with the specified result, error and capture.

    Declaration

    Swift

    public init(result: Result, error: Error, capture: Capture)

    Parameters

    result

    The result

    error

    The error

    capture

    The capture

  • Constructs with the specified result, errors and capture.

    Declaration

    Swift

    public init(result: Result, errors: [Error], capture: Capture)

    Parameters

    result

    The result

    errors

    The errors

    capture

    The capture