Class DeviceData


  • public final class DeviceData
    extends java.lang.Object
    • Method Detail

      • getBatteryLevel

        public java.util.Optional<java.lang.Double> getBatteryLevel()
        Returns:
        Battery level of the device used for a transaction or event at a given timestamp
      • getDeviceLatitude

        public java.util.Optional<java.lang.Double> getDeviceLatitude()
        Returns:
        Device latitude at a give timestamp for an event or transaction
      • getDeviceLongitude

        public java.util.Optional<java.lang.Double> getDeviceLongitude()
        Returns:
        Device longitude at a give timestamp for an event or transaction
      • getIpAddress

        public java.util.Optional<java.lang.String> getIpAddress()
        Returns:
        IP address of the device at a given timestamp for an event or transaction
      • getIpCountry

        public java.util.Optional<CountryCode> getIpCountry()
      • getDeviceIdentifier

        public java.util.Optional<java.lang.String> getDeviceIdentifier()
        Returns:
        Device identifier number
      • getVpnUsed

        public java.util.Optional<java.lang.Boolean> getVpnUsed()
        Returns:
        Whether VPN was used at a given timestamp for an event or transaction
      • getOperatingSystem

        public java.util.Optional<java.lang.String> getOperatingSystem()
        Returns:
        Operating system of the device at a given timestamp for an event or transaction
      • getDeviceMaker

        public java.util.Optional<java.lang.String> getDeviceMaker()
        Returns:
        The maker of the device at a given timestamp for an event or transaction
      • getDeviceModel

        public java.util.Optional<java.lang.String> getDeviceModel()
        Returns:
        The model of the device at a given timestamp for an event or transaction
      • getDeviceYear

        public java.util.Optional<java.lang.String> getDeviceYear()
        Returns:
        The year the device was manufactured at a given timestamp for an event or transaction
      • getAppVersion

        public java.util.Optional<java.lang.String> getAppVersion()
        Returns:
        The version of the app your user is using on their device at a given timestamp for an event or transaction
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object