org.whispersystems.textsecure.api.messages.multidevice.DeviceContact Maven / Gradle / Ivy
The newest version!
package org.whispersystems.textsecure.api.messages.multidevice;
import org.whispersystems.libaxolotl.util.guava.Optional;
import org.whispersystems.textsecure.api.messages.TextSecureAttachmentStream;
public class DeviceContact {
private final String number;
private final Optional name;
private final Optional avatar;
public DeviceContact(String number, Optional name, Optional avatar) {
this.number = number;
this.name = name;
this.avatar = avatar;
}
public Optional getAvatar() {
return avatar;
}
public Optional getName() {
return name;
}
public String getNumber() {
return number;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy