updateSize property

int get updateSize

Get update size (if an update is available for this item).

Function will return a valid size (!= 0) only if the item has a newer version in store.

This function doesn't request an update to be started for the item.

Returns

  • The update size

Throws

  • An exception if it fails.

Implementation

int get updateSize {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'getUpdateSize',
  );

  return resultString['result'];
}