Moxie Marlinspike 9287d413ac Support for incoming attachments.
1) Refactored MMS layer to use abstracted types.

2) Added support for retrieving attachment IDs.
2014-01-06 14:33:52 -08:00

22 lines
395 B
Java

package org.whispersystems.textsecure.push;
public class PushAttachmentData {
private final String contentType;
private final byte[] data;
public PushAttachmentData(String contentType, byte[] data) {
this.contentType = contentType;
this.data = data;
}
public String getContentType() {
return contentType;
}
public byte[] getData() {
return data;
}
}