Class AntiFraudConfig.Builder

    • Method Detail

      • useLightSensor

        @AnyThread
        public AntiFraudConfig.Builder useLightSensor​(boolean useLightSensor)
        Enable or disable light sensor tracking
        Parameters:
        useLightSensor - If true, the tracker handle events from light sensor
      • useMagneticFieldSensor

        @AnyThread
        public AntiFraudConfig.Builder useMagneticFieldSensor​(boolean useMagneticFieldSensor)
        Enable or disable magnetic field sensor tracking
        Parameters:
        useMagneticFieldSensor - If true, the tracker handle events from magnetic field sensor
      • useGyroscopeSensor

        @AnyThread
        public AntiFraudConfig.Builder useGyroscopeSensor​(boolean useGyroscopeSensor)
        Enable or disable gyroscope sensor tracking
        Parameters:
        useGyroscopeSensor - If true, the tracker handle events from gyroscope sensor
      • usePressureSensor

        @AnyThread
        public AntiFraudConfig.Builder usePressureSensor​(boolean usePressureSensor)
        Enable or disable pressure sensor tracking
        Parameters:
        usePressureSensor - If true, the tracker handle events from pressure sensor
      • useProximitySensor

        @AnyThread
        public AntiFraudConfig.Builder useProximitySensor​(boolean useProximitySensor)
        Enable or disable proximity sensor tracking
        Parameters:
        useProximitySensor - If true, the tracker handle events from proximity sensor
      • build

        @AnyThread
        public AntiFraudConfig build()
        Create new anti-fraud config instance with previously specified values
        Returns:
        New instance of AntiFraudConfig