ExternalInfo class Places
ExternalInfo object
Provides wikipedia information for a landmark.
Constructors
- ExternalInfo()
-
factory
- ExternalInfo.init(int id, int mapId)
Properties
Methods
-
cancelWikiInfo(
) → void - Cancel a Wikipedia request for any reason. This method is automatically called if a new request is initiated.
-
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.
-
hasWikiInfo(
Landmark landmark) → bool - Checks if the landmark has Wikipedia info
-
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getExternalInfo(
Landmark landmark, {void onWikiDataAvailable(ExternalInfo? externalInfo)?}) → ExternalInfo - Requests information about a landmark on wikipedia.