The parameter type.
There are 6 parameter types that can be used in macros: Text
, Boolean
, Integer
, Decimal
, Mixed
, and Intent
. You can also use any CAN-defined type such as time.DateTime
.
Text
: Plain text value, no htmlMixed
: HTML, other macros, other layouts, etc.Boolean
: true
or false
Integer
Decimal
Intent
: should be written exactly as it would be in a model. If it doesn't match the format of a model intent, an error will be thrown.Url
: uses a URL as provided from the API, or constructs a URL for an asset in the capsule's asset folder. Pass in a value such as images/icons/icon1.png
to construct a URL from AWS for that asset. Do not include the assets
directory in your Url
parameter.time.DateTime
, which will expect the parameter to always be of that type.If the value passed in does not match that type, an error will be thrown.
Copyright 2024 Samsung All rights reserved