How to add your knowledge

userData

    Table of contents
    No headers

    <userData> is dictionary object that stores client-defined elements, passed directly to the client application by the Gateway.

    Here is an simple example of a <userData> structure used to store the name and version of the source application that created the .clip.

    <userData type="dict">
    	<appName type="string">Flame</appName>
    	<appVersion type="int16">2012</appVersion>
    </userData>
    Attribute Description Data Type Allowed Values Attribute is...
    type The data type of the element. character data dict Required
    version Version of the xml element. unsigned integer 3 Implied
    Children
    #undefined

    No children elements are defined for the <userData> element since its data structure is undefined; each child element created by the client must define its data type using the type attribute. The allowed data types are listed below.

    Data Type Defined Values
    Integer (bound or unbound) int, int8, int16, int32, int64
    Unsigned integer (bound or unbound) uint, uint8, uint16, uint32, uint64
    Floating point float, double
    Boolean bool
    String string
    Found in...
    <clip>, <feed>, <span>, <version>