Package com.thalesgroup.gemalto.d1.card
Class CardAsset
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.card.CardAsset
-
public final class CardAsset extends Object
The Card Asset contains resources such as an image used to display Card Art.- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CardAsset.AssetType
Enumeration type for AssetType supported.
-
Constructor Summary
Constructors Constructor Description CardAsset(CardAsset.AssetType type, List<AssetContent> contents)
Public Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AssetContent>
getContents()
Gets the list of asset content resources.CardAsset.AssetType
getType()
Gets the asset content type—ICON or CARD_BACKGROUND.
-
-
-
Constructor Detail
-
CardAsset
public CardAsset(@NonNull CardAsset.AssetType type, @NonNull List<AssetContent> contents)
Public Constructor
-
-
Method Detail
-
getType
@NonNull public CardAsset.AssetType getType()
Gets the asset content type—ICON or CARD_BACKGROUND.
-
getContents
@NonNull public List<AssetContent> getContents()
Gets the list of asset content resources.
-
-