mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-24 13:46:12 +00:00
22 lines
388 B
Java
22 lines
388 B
Java
|
|
package org.whispersystems.textsecure.push;
|
||
|
|
|
||
|
|
public class PushAttachment {
|
||
|
|
|
||
|
|
private final String contentType;
|
||
|
|
private final byte[] data;
|
||
|
|
|
||
|
|
public PushAttachment(String contentType, byte[] data) {
|
||
|
|
this.contentType = contentType;
|
||
|
|
this.data = data;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getContentType() {
|
||
|
|
return contentType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public byte[] getData() {
|
||
|
|
return data;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|