public class Attribution extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
Attribution.Property |
Constructor and Description |
---|
Attribution() |
Attribution(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIosDeepLinkId()
Returns value of iosDeepLinkId property.
|
java.lang.String |
getSource()
Returns value of source property.
|
java.lang.String |
getWebUrl()
Returns value of webUrl property.
|
void |
setIosDeepLinkId(java.lang.String value)
Sets new value for iosDeepLinkId property.
|
void |
setSource(java.lang.String value)
Sets new value for source property.
|
void |
setWebUrl(java.lang.String value)
Sets new value for webUrl property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public Attribution()
@Deprecated public Attribution(Map map)
map
- owner Map objectpublic java.lang.String getIosDeepLinkId()
The iOS deep link to associate with this place when a user saves the place. When the user views the place in an iOS app, this URL will serve as the link on the source string. If there is no deep link or the app that handles the deep link is not present, the webURL will be used instead.
setIosDeepLinkId(java.lang.String)
public void setIosDeepLinkId(java.lang.String value)
value
- value of iosDeepLinkId propertygetIosDeepLinkId()
public java.lang.String getSource()
The source (origin) to associate with this place when it is saved by a user. For example, this could be the name of your website or application. The user who saved the place will see this source when they view the place in Google Maps. source is required for an Attribution to be considered valid. If it is not provided an error will be thrown.
setSource(java.lang.String)
public void setSource(java.lang.String value)
value
- new value for source propertygetSource()
public java.lang.String getWebUrl()
The URL (http or https) of the page to associate with this place when a user saves the place. When the user views the place in a desktop or Android app, this URL will serve as the link on the source string. When the user views the place in an iOS app, and there is no deep link provided or the app that handles the deep link is not present, this URL will serve as the link on the source string.
setWebUrl(java.lang.String)
public void setWebUrl(java.lang.String value)
value
- new value for webUrl propertygetWebUrl()