SightMessage

public class SightMessage

Short Video Message Class

The short video message class. This message will be stored and counted in the unread message count.

Constructors

Link copied to clipboard
public void SightMessage()
public void SightMessage(Array<byte> data)
public void SightMessage(Parcel in)
Constructor.

Properties

Link copied to clipboard
public final static Creator<SightMessage> CREATOR
Read interface designed to construct an instance of a class that implements Parcelable from a Parcel.
Link copied to clipboard
public boolean isOriginal

Functions

Link copied to clipboard
public int describeContents()
Describes the type of special objects included in the arrangement information of the Parcelable object.
Link copied to clipboard
public Array<byte> encode()
Link copied to clipboard
public String getBase64()
Retrieves the Base64 data that needs to be passed.
Link copied to clipboard
public int getDuration()
Retrieves the duration of the short video message in seconds.
Link copied to clipboard
public long getSize()
Get the size of the short video file
Link copied to clipboard
public Uri getThumbUri()
Retrieves the thumbnail Uri.
Link copied to clipboard
public boolean isOriginal()
Link copied to clipboard
public static SightMessage obtain(Uri localUri, int duration)
public static SightMessage obtain(Context context, Uri localUri, int duration)
public static SightMessage obtain(Context context, Uri thumbUri, Uri localUri, int duration)
Creates an instance of the SightMessage object.
@Deprecated()
public static SightMessage obtain(Uri thumbUri, Uri localUri, int duration)
Link copied to clipboard
public void setBase64(String base64)
Sets the Base64 data to be passed
Link copied to clipboard
public void setDuration(int duration)
Sets the duration of the short video message in seconds.
Link copied to clipboard
public void setSize(long size)
Sets the size of the short video file
Link copied to clipboard
public void setThumbUri(Uri thumbUri)
Sets the thumbnail URI.
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)
Writes the class data into the provided Parcel.