session-android/src/org/thoughtcrime/securesms/mms/MmsSendResult.java

33 lines
724 B
Java
Raw Normal View History

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;
private final boolean push;
2013-11-19 18:13:24 +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;
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;
}
}