public class

SCRichMessagingManager

extends Object
java.lang.Object
   ↳ com.c2call.sdk.pub.richmessage.SCRichMessagingManager

Summary

Public Constructors
SCRichMessagingManager()
Public Methods
boolean doesFileExist(String keyUrl, SCRichMessageType type)
SCDownloadListener getDownloadListener()
static String getRichMediaFilepath(String keyUrl, SCDownloadType downloadType)
static String getRichMediaFilepath(String keyUrl)
static String getRichMediaFilepath(String keyUrl, SCRichMessageType messageType)
SCRichMessageType getRichMessageType(String content)
static SCRichMessagingManager instance()
boolean isRichContent(String content)
synchronized boolean loadFile(String key, String destPath)
synchronized boolean loadRichMessage(String mediaKey, SCBoardEventData message)
synchronized void onRichMessageAction(String key, SCRichMessageType type, SCBoardEventData message)
boolean sendLocation(String userid, String xcallerid, SimplePlace place, String multiMessageText, boolean threaded)
boolean sendLocation(String userid, String xcallerid, Location location, Address address, String multiMessageText, String publicKey, boolean threaded)
boolean sendLocation(String userid, String xcallerid, SimplePlace place, String multiMessageText, String publicKey, boolean threaded)
boolean sendLocation(String userid, String xcallerid, Location location, Address address, String multiMessageText, boolean threaded)
void sendRichMessage(String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, String publicKey, boolean threaded)
void sendRichMessage(String[] userid, String xcallerid, String path, AwsBucket bucket, String predefinedKey, String multiMessageText, IDownloadListener directListener, String publicKey, boolean threaded)
void sendRichMessage(String[] userid, String xcallerid, String path, AwsBucket bucket, String predefinedKey, String multiMessageText, IDownloadListener directListener, boolean threaded)
void sendRichMessage(String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean threaded)
void sendRichMessage(String userid, String xcallerid, String path, AwsBucket bucket, SCBoardEventData predefinedMessage, String publicKey, boolean threaded)
void sendRichMessage(String userid, String xcallerid, String path, AwsBucket bucket, SCBoardEventData predefinedMessage, boolean threaded)
void sendUserPicture(String userid, String key, String path, AwsBucket bucket, IDownloadListener listener)
int sendVCard(String userid, String xcallerid, String[] vcards, String multiMessageText, String publicKey, boolean threaded)
int sendVCard(String userid, String xcallerid, String[] vcards, String multiMessageText, boolean threaded)
boolean sendVCard(String userid, String xcallerid, String vcard, String multiMessageText, boolean threaded)
boolean sendVCard(String userid, String xcallerid, String vcard, String multiMessageText, String publicKey, boolean threaded)
static String toRichMessage(String userid, String friendid)
static String toRichMessage(SimplePlace place)
static String toRichMessage(Location location, Address address)
static String toThumbKey(String key)
int upload(String[] userids, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean force, boolean threaded)
int upload(String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean force, boolean threaded)
boolean uploadUserImage(String key, String path, boolean force, boolean threaded)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SCRichMessagingManager ()

Public Methods

public boolean doesFileExist (String keyUrl, SCRichMessageType type)

public SCDownloadListener getDownloadListener ()

public static String getRichMediaFilepath (String keyUrl, SCDownloadType downloadType)

public static String getRichMediaFilepath (String keyUrl)

public static String getRichMediaFilepath (String keyUrl, SCRichMessageType messageType)

public SCRichMessageType getRichMessageType (String content)

public static SCRichMessagingManager instance ()

public boolean isRichContent (String content)

public synchronized boolean loadFile (String key, String destPath)

public synchronized boolean loadRichMessage (String mediaKey, SCBoardEventData message)

public synchronized void onRichMessageAction (String key, SCRichMessageType type, SCBoardEventData message)

public boolean sendLocation (String userid, String xcallerid, SimplePlace place, String multiMessageText, boolean threaded)

public boolean sendLocation (String userid, String xcallerid, Location location, Address address, String multiMessageText, String publicKey, boolean threaded)

public boolean sendLocation (String userid, String xcallerid, SimplePlace place, String multiMessageText, String publicKey, boolean threaded)

public boolean sendLocation (String userid, String xcallerid, Location location, Address address, String multiMessageText, boolean threaded)

public void sendRichMessage (String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, String publicKey, boolean threaded)

public void sendRichMessage (String[] userid, String xcallerid, String path, AwsBucket bucket, String predefinedKey, String multiMessageText, IDownloadListener directListener, String publicKey, boolean threaded)

public void sendRichMessage (String[] userid, String xcallerid, String path, AwsBucket bucket, String predefinedKey, String multiMessageText, IDownloadListener directListener, boolean threaded)

public void sendRichMessage (String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean threaded)

public void sendRichMessage (String userid, String xcallerid, String path, AwsBucket bucket, SCBoardEventData predefinedMessage, String publicKey, boolean threaded)

public void sendRichMessage (String userid, String xcallerid, String path, AwsBucket bucket, SCBoardEventData predefinedMessage, boolean threaded)

public void sendUserPicture (String userid, String key, String path, AwsBucket bucket, IDownloadListener listener)

public int sendVCard (String userid, String xcallerid, String[] vcards, String multiMessageText, String publicKey, boolean threaded)

public int sendVCard (String userid, String xcallerid, String[] vcards, String multiMessageText, boolean threaded)

public boolean sendVCard (String userid, String xcallerid, String vcard, String multiMessageText, boolean threaded)

public boolean sendVCard (String userid, String xcallerid, String vcard, String multiMessageText, String publicKey, boolean threaded)

public static String toRichMessage (String userid, String friendid)

public static String toRichMessage (SimplePlace place)

public static String toRichMessage (Location location, Address address)

public static String toThumbKey (String key)

public int upload (String[] userids, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean force, boolean threaded)

public int upload (String userid, String xcallerid, String path, AwsBucket bucket, String multiMessageText, boolean force, boolean threaded)

public boolean uploadUserImage (String key, String path, boolean force, boolean threaded)