Table of Contents

Class RequestLocation

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

A message that requests the current location of a device through Iridium.

public class RequestLocation : BinaryPayload, IEntity, IComparable, IIdentifiable, IBinaryPayload
Inheritance
RequestLocation
Implements
Inherited Members

Constructors

RequestLocation()

Initializes a new instance of the RequestLocation class. This is required for deserialization.

public RequestLocation()

RequestLocation(Device?)

Initializes a new instance of the RequestLocation class.

public RequestLocation(Device? device)

Parameters

device Device

DeviceDevice to use

RequestLocation(int)

Initializes a new instance of the RequestLocation class.

[Obsolete("HardwareID is obsolete, use Device constructor instead")]
public RequestLocation(int deviceId)

Parameters

deviceId int

The device ID.

Properties

Device

Gets or sets the device associated with the location request Used to look up device in BinaryPayloadBridge

public Device? Device { get; set; }

Property Value

Device

Device

DeviceId

Gets or sets the device's hardware ID.

[Obsolete("DeviceID is obsolete. Derive Hardware ID from Device instead")]
public int? DeviceId { get; set; }

Property Value

int?

Nullable<T> where T is. int

Remarks

This is no longer supported, and exists temporarily for legacy support. Please use Device instead

Payload

Gets the binary data.

public override byte[] Payload { get; }

Property Value

byte[]

The payload.

Methods

CloneCore()

Create a copy.

protected override BinaryPayload CloneCore()

Returns

BinaryPayload

The BinaryPayload.