MLKitImageLabelingCommon Framework Reference

Type Definitions

The following type definitions are available globally.

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

    Declaration

    Objective-C

    typedef void (^MLKImageLabelingCallback)(NSArray<MLKImageLabel *> *_Nullable,
                                             NSError *_Nullable)

    Parameters

    labels

    Array of label results in the image or nil if there was an error.

    error

    The error or nil.