categoryId property
Category identifier for this overlay item.
The returned ID refers to the root category for the item; it might differ from the direct parent category in multi-level hierarchies.
Returns
- The root category ID, or 0 when no category is assigned.
See also:
- OverlayInfo - Parent overlay metadata for this item.
- OverlayInfo.getCategory - Retrieve the OverlayCategory for this item.
Implementation
int get categoryId {
final OperationResult resultString = objectMethod(
pointerId,
'OverlayItem',
'getCategoryId',
);
return resultString['result'];
}