Sha256: 40dacb7763daee750aa62fdd0a765794ead8b25534c1d9e4a9914feb5f4ac176

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

# SyncteraRubySdk::DeviceDetails

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **color_depth** | **Integer** | The device's color palette bit depth, in bits per pixel |  |
| **header** | **String** | The exact contents of the browser's HTTP accept headers |  |
| **ip_address** | **String** | The device's IP address (either IPv4 or IPv6 formats are acceptable) |  |
| **java_enabled** | **Boolean** | If the browser has the ability to execute Java (value returned from `navigator.javaEnabled` property) |  |
| **javascript_enabled** | **Boolean** | If the browser has the ability to execute JavaScript (value returned from `navigator.javaScriptEnabled` property) |  |
| **language** | **String** | The browser's language as defined in IETF BCP47 |  |
| **screen_height** | **Integer** | The total height of the device's screen, in pixels |  |
| **screen_width** | **Integer** | The total width of the device's screen, in pixels |  |
| **timezone** | **Integer** | The offset from UTC of the device's local timezone, in minutes |  |
| **user_agent** | **String** | The exact contents of the HTTP user agent header |  |

## Example

```ruby
require 'synctera_ruby_sdk'

instance = SyncteraRubySdk::DeviceDetails.new(
  color_depth: 24,
  header: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,
  ip_address: 1.12.123.255,
  java_enabled: null,
  javascript_enabled: null,
  language: en-US,
  screen_height: 1080,
  screen_width: 1920,
  timezone: -300,
  user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
)
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synctera_ruby_sdk-1.1.3 docs/DeviceDetails.md
synctera_ruby_sdk-1.1.2 docs/DeviceDetails.md
synctera_ruby_sdk-1.1.1 docs/DeviceDetails.md
synctera_ruby_sdk-1.0.0 docs/DeviceDetails.md