public class ImageField extends RPCStruct
The name that identifies the field.For example AppIcon,SoftButton, LocationImage, etc.
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| name | ImageFieldName | The name that identifies the field.ImageFieldName | SmartDeviceLink 3.0 | ||
| imageTypeSupported | FileType | The image types that are supported in this field. FileType | maxlength: 100 | SmartDeviceLink 3.0 | |
| imageResolution | ImageResolution | The image resolution of this field. | Y | SmartDeviceLink 3.0 |
ImageType,
ImageResolution,
ImageFieldName| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_IMAGE_RESOLUTION |
static String |
KEY_IMAGE_TYPE_SUPPORTED |
static String |
KEY_NAME |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ImageField() |
ImageField(Hashtable<String,Object> hash) |
ImageField(ImageFieldName name,
List<FileType> imageTypeSupported) |
| Modifier and Type | Method and Description |
|---|---|
ImageResolution |
getImageResolution() |
List<FileType> |
getImageTypeSupported() |
ImageFieldName |
getName() |
ImageField |
setImageResolution(ImageResolution imageResolution) |
ImageField |
setImageTypeSupported(List<FileType> imageTypeSupported) |
ImageField |
setName(ImageFieldName name) |
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_IMAGE_TYPE_SUPPORTED
public static final String KEY_IMAGE_RESOLUTION
public static final String KEY_NAME
public ImageField()
public ImageField(@NonNull
ImageFieldName name,
@NonNull
List<FileType> imageTypeSupported)
public ImageFieldName getName()
public ImageField setName(@NonNull ImageFieldName name)
public ImageField setImageTypeSupported(@NonNull List<FileType> imageTypeSupported)
public ImageResolution getImageResolution()
public ImageField setImageResolution(ImageResolution imageResolution)