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
RequestLocation(int)
Initializes a new instance of the RequestLocation class.
[Obsolete("HardwareID is obsolete, use Device constructor instead")]
public RequestLocation(int deviceId)
Parameters
deviceId
intThe 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
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()