Package host.anzo.eossdk.eos.sdk.ecom
Class EOS_Ecom_KeyImageInfo
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.ecom.EOS_Ecom_KeyImageInfo
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Ecom_KeyImageInfo.ByReference,EOS_Ecom_KeyImageInfo.ByValue
@FieldOrder({"ApiVersion","Type","Url","Width","Height"})
public class EOS_Ecom_KeyImageInfo
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about a key image used by the catalog. Instances of this structure are
created by EOS_Ecom_CopyItemImageInfoByIndex. They must be passed to
release().
A Key Image is defined within Dev Portal and is associated with a Catalog Item. A Key Image is
intended to be used to provide imagery for an in-game store.- Since:
- 8/20/2023
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this to EOS_ECOM_KEYIMAGEINFO_API_LATEST.static final intThe most recent version of the EOS_Ecom_KeyImageInfo struct.intThe expected height in pixels of the imageDescribes the usage of the image (ex: home_thumbnail)The URL of the imageintThe expected width in pixels of the imageFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_ECOM_KEYIMAGEINFO_API_LATEST
public static final int EOS_ECOM_KEYIMAGEINFO_API_LATESTThe most recent version of the EOS_Ecom_KeyImageInfo struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_ECOM_KEYIMAGEINFO_API_LATEST. -
Type
Describes the usage of the image (ex: home_thumbnail) -
Url
The URL of the image -
Width
public int WidthThe expected width in pixels of the image -
Height
public int HeightThe expected height in pixels of the image
-
-
Constructor Details
-
EOS_Ecom_KeyImageInfo
public EOS_Ecom_KeyImageInfo() -
EOS_Ecom_KeyImageInfo
public EOS_Ecom_KeyImageInfo(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-