OverlayCategoryObject

Objective-C


@interface OverlayCategoryObject : NSObject

Swift

class OverlayCategoryObject : NSObject

This class encapsulates overlay category information.

  • Initializes and returns a newly allocated object using the model data.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithModelData:(nonnull void *)data;
  • Returns the model data.

    Declaration

    Objective-C

    - (nonnull void *)getModelData;
  • Returns the unique ID of the category within the overlay.

    Declaration

    Objective-C

    - (int)getUid;

    Swift

    func getUid() -> Int32
  • Returns the parent overlay uid.

    Declaration

    Objective-C

    - (int)getOverlayUid;

    Swift

    func getOverlayUid() -> Int32
  • Returns the category name.

    Declaration

    Objective-C

    - (nonnull NSString *)getName;

    Swift

    func getName() -> String
  • Returns the category image.

    Declaration

    Objective-C

    - (nullable ImageObject *)getImage;

    Swift

    func getImage() -> ImageObject?
  • Returns the category sub-categories.

    Declaration

    Objective-C

    - (nonnull NSArray<OverlayCategoryObject *> *)getSubcategories;

    Swift

    func getSubcategories() -> [OverlayCategoryObject]
  • Check if category has subcategories.

    Declaration

    Objective-C

    - (BOOL)hasSubcategories;

    Swift

    func hasSubcategories() -> Bool