Constructs a new LocationMessage.
Optional
properties: ILocationMessageProperties to set
LocationMessage accuracyInMeters.
LocationMessage address.
LocationMessage comment.
Optional
contextLocationMessage contextInfo.
LocationMessage degreesClockwiseFromMagneticNorth.
LocationMessage degreesLatitude.
LocationMessage degreesLongitude.
LocationMessage isLive.
LocationMessage jpegThumbnail.
LocationMessage name.
LocationMessage speedInMps.
LocationMessage url.
Static
createCreates a new LocationMessage instance using the specified properties.
Optional
properties: ILocationMessageProperties to set
LocationMessage instance
Static
decodeDecodes a LocationMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage 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
encodeEncodes the specified LocationMessage message. Does not implicitly verify messages.
LocationMessage message or plain object to encode
Optional
writer: WriterWriter 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: WriterWriter 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
toCreates a plain object from a LocationMessage message. Also converts values to other types if specified.
LocationMessage
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a LocationMessage.