checkForUpdate static method

GemError checkForUpdate(
  1. ContentType type
)

Check for update on the given content type.

On success it will provide the result on the OffBoardListener's onWorldwideRoadMapVersionUpdatedCallback callback if the type is ContentType.roadMap. On success it will provide the result on the OffBoardListener's onAvailableContentUpdateCallback callback if the type is other value.

Parameters

Returns

Throws

  • An exception if it fails.

Implementation

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

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