public static final class AntiFraudConfig.Builder
extends java.lang.Object
AntiFraudConfig| Modifier and Type | Method and Description |
|---|---|
AntiFraudConfig |
build()
Create new anti-fraud config instance with previously specified values
|
AntiFraudConfig.Builder |
useGyroscopeSensor(boolean useGyroscopeSensor)
Enable or disable gyroscope sensor tracking
|
AntiFraudConfig.Builder |
useLightSensor(boolean useLightSensor)
Enable or disable light sensor tracking
|
AntiFraudConfig.Builder |
useMagneticFieldSensor(boolean useMagneticFieldSensor)
Enable or disable magnetic field sensor tracking
|
AntiFraudConfig.Builder |
usePressureSensor(boolean usePressureSensor)
Enable or disable pressure sensor tracking
|
AntiFraudConfig.Builder |
useProximitySensor(boolean useProximitySensor)
Enable or disable proximity sensor tracking
|
@AnyThread public AntiFraudConfig.Builder useLightSensor(boolean useLightSensor)
useLightSensor - If true, the tracker handle events from light sensor@AnyThread public AntiFraudConfig.Builder useMagneticFieldSensor(boolean useMagneticFieldSensor)
useMagneticFieldSensor - If true, the tracker handle events from magnetic field sensor@AnyThread public AntiFraudConfig.Builder useGyroscopeSensor(boolean useGyroscopeSensor)
useGyroscopeSensor - If true, the tracker handle events from gyroscope sensor@AnyThread public AntiFraudConfig.Builder usePressureSensor(boolean usePressureSensor)
usePressureSensor - If true, the tracker handle events from pressure sensor@AnyThread public AntiFraudConfig.Builder useProximitySensor(boolean useProximitySensor)
useProximitySensor - If true, the tracker handle events from proximity sensor@AnyThread public AntiFraudConfig build()
AntiFraudConfig