You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
758 B
32 lines
758 B
package foundation.pEp.jniadapter;
|
|
|
|
public class _Identity {
|
|
public byte[] address;
|
|
public byte[] fpr;
|
|
public byte[] user_id;
|
|
public byte[] username;
|
|
public int comm_type;
|
|
public byte[] lang;
|
|
public boolean me;
|
|
public int flags;
|
|
|
|
public _Identity() {
|
|
this.me = false;
|
|
}
|
|
|
|
public _Identity(boolean me) {
|
|
this.me = me;
|
|
}
|
|
|
|
public _Identity(Identity i) {
|
|
address = AbstractEngine.toUTF8(i.address);
|
|
fpr = AbstractEngine.toUTF8(i.fpr);
|
|
user_id = AbstractEngine.toUTF8(i.user_id);
|
|
username = AbstractEngine.toUTF8(i.username);
|
|
comm_type = i.comm_type.value;
|
|
lang = AbstractEngine.toUTF8(i.lang);
|
|
me = i.me;
|
|
flags = i.flags;
|
|
}
|
|
}
|
|
|
|
|