2013-11-19 18:13:24 +00:00
|
|
|
package org.thoughtcrime.securesms.mms;
|
|
|
|
|
|
|
|
public class MmsSendResult {
|
|
|
|
|
|
|
|
private final byte[] messageId;
|
|
|
|
private final int responseStatus;
|
|
|
|
private final boolean upgradedSecure;
|
2014-02-21 00:14:58 +00:00
|
|
|
private final boolean push;
|
2013-11-19 18:13:24 +00:00
|
|
|
|
2014-02-21 00:14:58 +00:00
|
|
|
public MmsSendResult(byte[] messageId, int responseStatus, boolean upgradedSecure, boolean push) {
|
2013-11-19 18:13:24 +00:00
|
|
|
this.messageId = messageId;
|
|
|
|
this.responseStatus = responseStatus;
|
|
|
|
this.upgradedSecure = upgradedSecure;
|
2014-02-21 00:14:58 +00:00
|
|
|
this.push = push;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isPush() {
|
|
|
|
return push;
|
2013-11-19 18:13:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isUpgradedSecure() {
|
|
|
|
return upgradedSecure;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getResponseStatus() {
|
|
|
|
return responseStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
public byte[] getMessageId() {
|
|
|
|
return messageId;
|
|
|
|
}
|
|
|
|
}
|