Type-Definitions

The following type definitions are available globally.

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

    Declaration

    Objective-C

    typedef void (^FIRVisionImageLabelerCallback)(
        NSArray<FIRVisionImageLabel *> *_Nullable, NSError *_Nullable)

    Parameters

    labels

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

    error

    The error or nil.