public class DeviceFingerprintSource
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DeviceFingerprintSource.Type
The defined anti-cloning types.
|
Modifier and Type | Field and Description |
---|---|
static DeviceFingerprintSource |
DEFAULT
Default device fingerprint source settings
Type.SERVICE and Type.SOFT |
Constructor and Description |
---|
DeviceFingerprintSource(byte[] customData,
DeviceFingerprintSource.Type... dft)
Build a new device fingerprint source with some application's custom data.
|
DeviceFingerprintSource(DeviceFingerprintSource.Type... dft)
Build a new device fingerprint source.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCustomData()
Get application custom data.
|
boolean |
isActive(DeviceFingerprintSource.Type dft)
Check if the provided device fingerprint type will be used.
|
public static final DeviceFingerprintSource DEFAULT
Type.SERVICE
and Type.SOFT
public DeviceFingerprintSource(DeviceFingerprintSource.Type... dft)
dft
- Array of source to use, see DeviceFingerprintSource.Type
public DeviceFingerprintSource(byte[] customData, DeviceFingerprintSource.Type... dft)
customData
- Application's custom datadft
- Array of source to use, see DeviceFingerprintSource.Type
public boolean isActive(DeviceFingerprintSource.Type dft)
dft
- the source to be verifiedpublic byte[] getCustomData()