getWikiImagesCount method

int getWikiImagesCount()

Get the count of the images on the Wikipedia page.

Must be called only after the onWikiDataAvailable callback is triggered

Returns

  • The count of the images on the Wikipedia page

Throws

  • An exception if it fails.

Implementation

int getWikiImagesCount() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ExternalInfo',
    'getWikiImagesCount',
  );

  return resultString['result'];
}