Constructs a new LocationMessage.
Optional
properties:
ILocationMessage
Properties to set
Optional
accuracyLocationMessage accuracyInMeters.
Optional
address
LocationMessage address.
Optional
comment
LocationMessage comment.
Optional
contextLocationMessage contextInfo.
Optional
degreesLocationMessage degreesClockwiseFromMagneticNorth.
Optional
degreesLocationMessage degreesLatitude.
Optional
degreesLocationMessage degreesLongitude.
Optional
isLocationMessage isLive.
Optional
jpegLocationMessage jpegThumbnail.
Optional
name
LocationMessage name.
Optional
speedLocationMessage speedInMps.
Optional
url
LocationMessage url.
Static
create
Creates a new LocationMessage instance using the specified properties.
Optional
properties:
ILocationMessage
Properties to set
LocationMessage instance
Static
decode
Decodes a LocationMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
LocationMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a LocationMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
LocationMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified LocationMessage message. Does not implicitly verify messages.
LocationMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified LocationMessage message, length delimited. Does not implicitly verify messages.
LocationMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a LocationMessage message from a plain object. Also converts values to their respective internal types.
Plain object
LocationMessage
Static
getStatic
toCreates a plain object from a LocationMessage message. Also converts values to other types if specified.
LocationMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a LocationMessage.