-
Notifications
You must be signed in to change notification settings - Fork 30
Bubble Type: Sticker Bubble
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.StickerTypeContains 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.HeightContains the height of the bubbles sticker image in pixels.
Example:
height = bubble.Height;
//height is now equal to 100###Width
int bubble.WidthContains the width of the bubbles sticker image in pixels.
Example:
width = bubble.Width;
//width is now equal to 100###Download Attempts
int bubble.DownloadAttemptHow many times the bubble has attempted to download the file.
Example:
attempts = bubble.DownloadAttempt;
//attempts is now equal to 3###Sticker ID
string bubble.StickerIdThe sticker's id.
Example:
id = bubble.StickerId;
//id is now equal to happy###File Name of Static Image
string bubble.StaticImageThe 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.AnimatedImageThe stickers animated image path.
Example:
animated = bubble.AnimatedImage;
//animated is now equal to http://example.com/test.png© The Disa Open Source Project
If you have any questions please contact opensource@disa.im!
