checkForUpdate static method
- 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
- IN type Content list type (see ContentType)
Returns
- GemError.success on success
- GemError.connectionRequired if the device has no internet connection.
Implementation
static GemError checkForUpdate(final ContentType type) {
final OperationResult resultString = staticMethod(
'ContentStore',
'checkForUpdate',
args: type.id,
);
return GemErrorExtension.fromCode(resultString['result']);
}