mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 19:48:33 +00:00
20 lines
440 B
Java
20 lines
440 B
Java
![]() |
package org.thoughtcrime.securesms.insights;
|
||
|
|
||
|
final class InsightsData {
|
||
|
private final boolean hasEnoughData;
|
||
|
private final int percentInsecure;
|
||
|
|
||
|
InsightsData(boolean hasEnoughData, int percentInsecure) {
|
||
|
this.hasEnoughData = hasEnoughData;
|
||
|
this.percentInsecure = percentInsecure;
|
||
|
}
|
||
|
|
||
|
public boolean hasEnoughData() {
|
||
|
return hasEnoughData;
|
||
|
}
|
||
|
|
||
|
public int getPercentInsecure() {
|
||
|
return percentInsecure;
|
||
|
}
|
||
|
}
|