Class: Aws::LocationService::Types::DeviceState

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

The device’s position, IP address, and Wi-Fi access points.

Constant Summary collapse

SENSITIVE =
[:position]

Instance Attribute Summary collapse

Instance Attribute Details

#accuracyTypes::PositionalAccuracy

Defines the level of certainty of the position.



2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#cell_signalsTypes::CellSignals

The cellular network infrastructure that the device is connected to.

Returns:



2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#device_idString

The device identifier.

Returns:

  • (String)


2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#ipv_4_addressString

The device’s Ipv4 address.

Returns:

  • (String)


2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#positionArray<Float>

The last known device position.

Returns:

  • (Array<Float>)


2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#sample_timeTime

The timestamp at which the device’s position was determined. Uses [ ISO 8601 ][1] format: ‘YYYY-MM-DDThh:mm:ss.sssZ`.

[1]: www.iso.org/iso-8601-date-and-time-format.html

Returns:

  • (Time)


2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end

#wi_fi_access_pointsArray<Types::WiFiAccessPoint>

The Wi-Fi access points the device is using.

Returns:



2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aws-sdk-locationservice/types.rb', line 2943

class DeviceState < Struct.new(
  :device_id,
  :sample_time,
  :position,
  :accuracy,
  :ipv_4_address,
  :wi_fi_access_points,
  :cell_signals)
  SENSITIVE = [:position]
  include Aws::Structure
end