| Package | Description |
|---|---|
| abs.ixi.client | |
| abs.ixi.client.file.sfcm | |
| abs.ixi.client.io.multipart | |
| abs.ixi.client.xmpp.packet |
| Modifier and Type | Method and Description |
|---|---|
FileTransferFuture |
ChatManager.downloadFile(JID from,
String fileId,
ContentType contentType)
Download a file for which a
Message with media content has been
received. |
void |
ChatManager.downloadFile(JID from,
String fileId,
ContentType contentType,
Callback<File,FileTransfer.FailureReason> callback)
Download a file for which a
Message with media content has been
received. |
boolean |
ChatManager.sendMediaMessage(String conversationId,
String messageId,
ContentType contentType,
String mediaThumb,
JID toJID,
boolean isGroup,
boolean isMarkable,
boolean isMDRSupported,
boolean isCSNSupported)
A
Message packet is created with the given mediaId and sent to
XMPPStreamManager which writes it on the underlying connection. |
void |
ChatManager.uploadFile(String mediaId,
File file,
ContentType contentType,
JID to,
Callback<String,FileTransfer.FailureReason> callback)
Upload a file on to server
|
| Modifier and Type | Method and Description |
|---|---|
ContentType |
FileTransfer.getContentType() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileTransfer.setContentType(ContentType contentType) |
FileTransferFuture |
FileTransferManager.transferFileInbound(JID from,
String fileId,
ContentType contentType)
File thumb and its unique id is transferred to receiver immediately.
|
void |
FileTransferManager.transferFileInbound(JID from,
String fileId,
ContentType contentType,
Callback<File,FileTransfer.FailureReason> callback)
File thumb and its unique id is transferred to receiver immediately.
|
FileTransferFuture |
FileTransferManager.transferFileOutbound(String mediaId,
File file,
ContentType contentType,
JID to) |
void |
FileTransferManager.transferFileOutbound(String messageId,
File file,
ContentType contentType,
JID to,
Callback<String,FileTransfer.FailureReason> callback)
Sends message with
MediaContent to media receiver. |
| Constructor and Description |
|---|
FileTransfer(String fileId,
ContentType contentType) |
InboundFileTransfer(JID from,
String fileId,
ContentType contentType,
Callback<File,FileTransfer.FailureReason> callback) |
OutboundFileTransfer(String fileId,
File file,
ContentType contentType,
JID to) |
OutboundFileTransfer(String fileId,
File file,
ContentType contentType,
JID to,
Callback<String,FileTransfer.FailureReason> callback) |
| Modifier and Type | Method and Description |
|---|---|
ContentType |
MessageMedia.getContentType() |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageMedia.setContentType(ContentType contentType) |
| Constructor and Description |
|---|
MessageMedia(String mediaId,
ContentType contentType) |
Copyright © 2019. All rights reserved.