Skip to content

Bubble Type: Sticker Bubble

Sebastian Walker edited this page Oct 28, 2015 · 2 revisions
StickerBubble.cs

##Description The sticker bubble is used for displaying sticker messages (e.g. stickers on Facebook).

##Special Properties

The following properties are special to this bubble type. In addition, there are bubble properties which apply to all bubble types. Those are listed here.

###Resource Type

Type bubble.StickerType

Contains the resource type of the Bubble's audio.
Can be either Url for a URL requested image file, or File for an attached image file

Example:

type = bubble.StickerType;
//type is now equal to Url

###Height

int bubble.Height

Contains the height of the bubbles sticker image in pixels.

Example:

height = bubble.Height;
//height is now equal to 100

###Width

int bubble.Width

Contains the width of the bubbles sticker image in pixels.

Example:

width = bubble.Width;
//width is now equal to 100

###Download Attempts

int bubble.DownloadAttempt

How many times the bubble has attempted to download the file.

Example:

attempts = bubble.DownloadAttempt;
//attempts is now equal to 3

###Sticker ID

string bubble.StickerId

The sticker's id.

Example:

id = bubble.StickerId;
//id is now equal to happy

###File Name of Static Image

string bubble.StaticImage

The stickers static image path.

Example:

static = bubble.StaticImage;
//static is now equal to http://example.com/test.png

###File Name of Animated Image

string bubble.AnimatedImage

The stickers animated image path.

Example:

animated = bubble.AnimatedImage;
//animated is now equal to http://example.com/test.png

Clone this wiki locally