java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupMedia
Represents the media that is displayed in a pop-up for a geo-element.
- Since:
- 100.0.0
-
Property Summary
Properties -
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the caption that is displayed for the media.longGets the value of theimageRefreshIntervalproperty.getTitle()Gets the title that is displayed for the media.getType()Gets the type of media.getValue()Gets the optional media info value that is depending on the type of media.The image refresh interval.voidsetCaption(String caption) Sets the caption that is displayed for the media.voidsetImageRefreshInterval(long imageRefreshInterval) Sets the value of theimageRefreshIntervalproperty.voidSets the title that is displayed for the media.voidsetType(PopupMedia.Type type) Sets the type of media.voidsetValue(PopupMediaValue popupMediaValue) Sets the optional media info value that is depending on the type of media.
-
Property Details
-
imageRefreshInterval
The image refresh interval. This property is useful only for a pop-up media of typePopupMedia.Type.IMAGE.The refresh interval, in milliseconds. A refresh interval of 0 means never refresh. The default value is 0.
- Since:
- 200.1.0
- See Also:
-
-
Constructor Details
-
PopupMedia
public PopupMedia()Constructs an empty PopupMedia.- Since:
- 100.0.0
-
-
Method Details
-
getTitle
Gets the title that is displayed for the media.- Returns:
- the title that is displayed for the media
- Since:
- 100.0.0
-
setTitle
Sets the title that is displayed for the media.- Parameters:
title- the title that is displayed for the media- Since:
- 100.0.0
-
getType
Gets the type of media.- Returns:
- the type of media
- Since:
- 100.0.0
-
setType
Sets the type of media.- Parameters:
type- the type of media- Throws:
IllegalArgumentException- if the type is null- Since:
- 100.0.0
-
getCaption
Gets the caption that is displayed for the media.- Returns:
- the caption that is displayed for the media
- Since:
- 100.0.0
-
setCaption
Sets the caption that is displayed for the media.- Parameters:
caption- the caption that is displayed for the media- Since:
- 100.0.0
-
imageRefreshIntervalProperty
The image refresh interval. This property is useful only for a pop-up media of typePopupMedia.Type.IMAGE.The refresh interval, in milliseconds. A refresh interval of 0 means never refresh. The default value is 0.
- Returns:
- the
imageRefreshIntervalproperty - Since:
- 200.1.0
- See Also:
-
getImageRefreshInterval
public long getImageRefreshInterval()Gets the value of theimageRefreshIntervalproperty.- Property description:
- The image refresh interval. This property is useful only for a pop-up media of type
PopupMedia.Type.IMAGE.The refresh interval, in milliseconds. A refresh interval of 0 means never refresh. The default value is 0.
- Returns:
- the value of the
imageRefreshIntervalproperty - Since:
- 200.1.0
- See Also:
-
setImageRefreshInterval
public void setImageRefreshInterval(long imageRefreshInterval) Sets the value of theimageRefreshIntervalproperty.- Property description:
- The image refresh interval. This property is useful only for a pop-up media of type
PopupMedia.Type.IMAGE.The refresh interval, in milliseconds. A refresh interval of 0 means never refresh. The default value is 0.
- Parameters:
imageRefreshInterval- the value for theimageRefreshIntervalproperty- Since:
- 200.1.0
- See Also:
-
getValue
Gets the optional media info value that is depending on the type of media.- Returns:
- the optional media info value
- Since:
- 100.0.0
-
setValue
Sets the optional media info value that is depending on the type of media.- Parameters:
popupMediaValue- the optional media info value- Throws:
IllegalArgumentException- if the popupMediaValue is null- Since:
- 100.0.0
-