Sticker Sequence Type
An animated sticker for a sticker pack. The sticker uses a series of images to generate the animation.
Extension
.stickersequence
Folder Contents
An image for each frame of the sequence.
Contents.json File
Metadata, animation information, accessibility text, and filenames for the sticker sequence. For values, see (Table 28-1).
Key |
Type |
Description |
---|---|---|
|
Dictionary |
Versioning information for the asset catalog. |
|
String |
The application that authored the asset catalog. |
|
Number |
The version of the asset catalog. |
|
Dictionary |
Properties for the sprite atlas. |
|
String |
A custom string used by Voice Over. The sticker name is used if no string is provided. |
|
Number |
Determines the length of the animation cycle as a fixed duration or as a number of frames per second.
The interpretation is controlled by the
|
|
String |
Determines how the number for |
|
Number |
The number of times the animation repeats in addition to the initial animation.
Use |
|
Array of dictionaries |
The array of frames in the animation. The order of the animation is the same as the order of the array. |
|
String |
The name of the image file containing the sticker for a frame. |
Values for Enumerated Tags
duration-type
The type of duration. The value determines how the duration
key is used. Values are shown in (Table 28-2).
Sample Contents.json File
{
"properties" : {
"accessibility-label" : "The llama is winking at you.",
"repetions" : 0,
"duration-type" : "fps",
"duration" : 15
},
"frames" : [
{
"filename" : "001_llamaWink.png"
},
{
"filename" : "002_llamaWink.png"
},
…
{
"filename" : "015_llamaWink.png"
}
],
"info" : {
"author" : "com.developerName",
"version" : 1
}
}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09