Type-Definitions

The following type definitions are available globally.

  • A block containing an array of labels or nil if there’s an error.

    Declaration

    Swift

    typealias VisionImageLabelerCallback = ([FIRVisionImageLabel]?, Error?) -> Void

    Parameters

    labels

    Array of labels detected in the image or nil if there was an error.

    error

    The error or nil.