Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation
ImageField

ImageField Class Reference

Constructors

Instance Methods

Constructors

new ImageField(parameters)

Initializes an instance of ImageField.

Instance Methods

imageField.getImageResolution() ⇒ ImageResolution

Get the ImageResolution

Kind: Instance method of ImageField
Returns: ImageResolution - the KEY_IMAGE_RESOLUTION value

imageField.getImageTypeSupported() ⇒ Array.<FileType>

Get the ImageTypeSupported

Kind: Instance method of ImageField
Returns: Array.<FileType> - the KEY_IMAGE_TYPE_SUPPORTED value

imageField.getNameParam() ⇒ ImageFieldName

Get the NameParam

Kind: Instance method of ImageField
Returns: ImageFieldName - the KEY_NAME value

imageField.setImageResolution(resolution) ⇒ ImageField

Set the ImageResolution

Kind: Instance method of ImageField
Returns: ImageField - The class instance for method chaining.

ParamTypeDescription
resolution ImageResolution The image resolution of this field. - The desired ImageResolution.

imageField.setImageTypeSupported(supported) ⇒ ImageField

Set the ImageTypeSupported

Kind: Instance method of ImageField
Returns: ImageField - The class instance for method chaining.

ParamTypeDescription
supported Array.<FileType> The image types that are supported in this field. See FileType. - The desired ImageTypeSupported. {'array_min_size': 1, 'array_max_size': 100}

imageField.setNameParam(name) ⇒ ImageField

Set the NameParam

Kind: Instance method of ImageField
Returns: ImageField - The class instance for method chaining.

ParamTypeDescription
name ImageFieldName The name that identifies the field. See ImageFieldName. - The desired NameParam.
View on GitHub.com
Previous Section Next Section