Check if Trusted Device is Enrolled
There are 3 methods that you can use to check about Trusted Device enrollment:
Check if this device is a Trusted Device
Check if this account has any Trusted Device
Check if Trusted Device is the default method of authentication for this account
Check if this device is a Trusted Device
Cotter.methods.trustedDeviceEnrolled(new CotterMethodChecker() {
@Override
public void onCheck(boolean enrolled) {
thisDeviceEnrolled.setText("TrustedDevice enrolled this device: " + enrolled);
}
});