mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-20 17:57:29 +00:00
1) Refactored MMS layer to use abstracted types. 2) Added support for retrieving attachment IDs.
22 lines
395 B
Java
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;
|
|
}
|
|
|
|
}
|