ExternalInfo class Places
ExternalInfo object
Provides wikipedia information for a landmark.
This class can't be instantiated directly. Instead, use the ExternalInfoService.requestWikiInfo method to obtain an instance via the callback.
Constructors
- ExternalInfo.init(int id, int mapId)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imagesCount → int
-
Get the count of the images on the Wikipedia page.
no setter
- mapId → int
-
no setter
- pointerId → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wikiPageDescription → String
-
Get Wikipedia page summary (text).
no setter
- wikiPageLanguage → String
-
Get Wikipedia page language.
no setter
- wikiPageTitle → String
-
Get Wikipedia page title.
no setter
- wikiPageUrl → String
-
Get Wikipedia page URL.
no setter
Methods
-
cancelWikiImageInfoRequest(
ProgressListener listener) → void - Cancel a specific Wikipedia image info request via requestWikiImageInfo.
-
getWikiImageDescription(
int index) → String - Get Wikipedia image description directly, without notifier.
-
getWikiImagesCount(
) → int - Get the count of the images on the Wikipedia page.
-
getWikiImageTitle(
int index) → String - Get Wikipedia image title directly, without notifier.
-
getWikiImageUrl(
int index) → String - Get Wikipedia image URL directly, without notifier.
-
getWikiPageDescription(
) → String - Get Wikipedia page summary (text).
-
getWikiPageLanguage(
) → String - Get Wikipedia page language.
-
getWikiPageTitle(
) → String - Get Wikipedia page title.
-
getWikiPageUrl(
) → String - Get Wikipedia page URL.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
requestWikiImageInfo(
{required int imageIndex, required void onComplete(GemError error, String? imageInfo)}) → ProgressListener? - Get info on one Wikipedia image.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited