mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-24 08:31:28 +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;
|
|
}
|
|
|
|
}
|