getWikiPageDescription method

String getWikiPageDescription()

Get Wikipedia page summary (text).

Must be called only after the onWikiDataAvailable callback is triggered

Returns

  • The Wikipedia page summary

Throws

  • An exception if it fails.

Implementation

String getWikiPageDescription() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ExternalInfo',
    'getWikiPageDescription',
  );

  return resultString['result'];
}