use of com.yellowmessenger.sdk.events.UploadStartEvent in project yellowmessenger-sdk by yellowmessenger.
the class ChatActivity method sendImageMessage.
public void sendImageMessage(Bitmap bm, String filename) {
String message = "";
ChatMessage chatMessage = new ChatMessage(username, message, name, true);
chatMessage.setBitmap(bm);
addMessage(chatMessage);
EventBus.getDefault().post(new UploadStartEvent(chatMessage, filename));
}
use of com.yellowmessenger.sdk.events.UploadStartEvent in project yellowmessenger-sdk by yellowmessenger.
the class RecyclerChatActivity method sendImageMessage.
public void sendImageMessage(Bitmap bm, String filename) {
String message = "";
ChatMessage chatMessage = new ChatMessage(username, message, name, true);
chatMessage.setBitmap(bm);
addMessage(chatMessage);
EventBus.getDefault().post(new UploadStartEvent(chatMessage, filename));
}
Aggregations