Skip to content
Sebastian Walker edited this page Oct 28, 2015 · 2 revisions

#####This reference page contains properties that can be read from ALL Bubble objects.
#####For a list of specialized bubbles and their properties, check out this page.

##Status

BubbleStatus bubble.Status

Is equal to Sent if the bubble was sent correctly.
Is equal to Delivered if the bubble was delivered.
Is equal to Waiting if the bubble is waiting to be sent.
Is equal to Failed if sending the bubble failed.

Example:

status = bubble.Status;
//status is now equal to Sent

##Message

string bubble.Message

Contains the message of the bubble.

Example:

message = bubble.Message;
//direction is now equal to Hello World!

##Time

long bubble.Time

Contains the timestamp at which the bubble was created in the Epoch/Unix-Timestamp format.

Example:

timestamp = bubble.Time;
//timestamp is now equal to 1446035271

##Direction

BubbleDirection bubble.Direction

Contains the direction which the bubble is in. Possible values are:
Incoming for incoming bubbles, Outgoing for outgoing bubbles

Example:

direction = bubble.Direction;
//direction is now equal to Incoming

##Address

string bubble.Address

Contains the address of the bubble.

Example:

address = bubble.Address;
//address is now equal to 12345

##Participant Address

string bubble.ParticipantAddress

Contains the address of the bubble participant.

Example:

paddress = bubble.ParticipantAddress;
//paddress is now equal to 67890

##Party

bool bubble.Party

Contains information if the bubble is part of a party or not.

Example:

is_party = bubble.Party;
//is_party is now equal to false

##Service

Service bubble.Service

Contains the service which the bubble was sent with.

Example:

service = bubble.Service;
//service is now equal to Disa.Framework.WackyMessenger.WackyMessenger

Clone this wiki locally