checkForUpdate static method

GemError checkForUpdate(
  1. ContentType type
)

Check for available updates for the specified content type.

On success the result is published via the appropriate OffBoardListener callbacks: OffBoardListener.registerOnWorldwideRoadMapVersionUpdated for ContentType.roadMap, or OffBoardListener.registerOnAvailableContentUpdate for other types.

Parameters

Returns

See also:

Implementation

static GemError checkForUpdate(final ContentType type) {
  final OperationResult resultString = staticMethod(
    'ContentStore',
    'checkForUpdate',
    args: type.id,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}