dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
ImageMediaInfo Class
An ImageMediaInfo
is a type of media element that represents images to display within a popup.
ArcGIS Maps SDK for JavaScript
public class ImageMediaInfo : dymaptic.GeoBlazor.Core.Components.MediaInfo
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 MediaInfo 🡒 ImageMediaInfo
Constructors
ImageMediaInfo() Constructor
Parameterless constructor for use as a Razor Component.
public ImageMediaInfo();
ImageMediaInfo(string, string, string, ImageMediaInfoValue, Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public ImageMediaInfo(string? title=null, string? caption=null, string? altText=null, dymaptic.GeoBlazor.Core.Components.ImageMediaInfoValue? value=null, System.Nullable<double> refreshInterval=null);
Parameters
title
System.String
The title of the media element.
ArcGIS Maps SDK for JavaScript
caption
System.String
Defines a caption for the media.
ArcGIS Maps SDK for JavaScript
altText
System.String
Provides an alternate text for an image if the image cannot be displayed.
ArcGIS Maps SDK for JavaScript
value
ImageMediaInfoValue
Defines the value format of the image media element and how the images should be retrieved.
ArcGIS Maps SDK for JavaScript
refreshInterval
System.Nullable<System.Double>
Refresh interval of the layer in minutes.
ArcGIS Maps SDK for JavaScript
Properties
ImageMediaInfo.RefreshInterval Property
Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. If the property does not exist, it is equivalent to having a value of 0.
public System.Nullable<double> RefreshInterval { get; set; }
Property Value
System.Nullable<System.Double>
ImageMediaInfo.Type Property
Indicates the type of media
public override string Type { get; }
Property Value
ImageMediaInfo.Value Property
Defines the value format of the image media element and how the images should be retrieved.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.ImageMediaInfoValue? Value { get; set; }
Property Value
Methods
ImageMediaInfo.GetRefreshInterval() Method
Asynchronously retrieve the current value of the RefreshInterval property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetRefreshInterval();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
ImageMediaInfo.GetValue() Method
Asynchronously retrieve the current value of the Value property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.ImageMediaInfoValue?> GetValue();
Returns
System.Threading.Tasks.Task<ImageMediaInfoValue>
ImageMediaInfo.SetRefreshInterval(Nullable) Method
Asynchronously set the value of the RefreshInterval property after render.
public System.Threading.Tasks.Task SetRefreshInterval(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
ImageMediaInfo.SetValue(ImageMediaInfoValue) Method
Asynchronously set the value of the Value property after render.
public System.Threading.Tasks.Task SetValue(dymaptic.GeoBlazor.Core.Components.ImageMediaInfoValue? value);
Parameters
value
ImageMediaInfoValue
The value to set.
Returns
ImageMediaInfo.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()