Skip to main content

Class: LocationMessage

Defined in: WAProto/index.d.ts:7380

Implements

Constructors

new LocationMessage()

new LocationMessage(p?): LocationMessage

Defined in: WAProto/index.d.ts:7381

Parameters

p?

ILocationMessage

Returns

LocationMessage

Properties

accuracyInMeters?

optional accuracyInMeters: null | number

Defined in: WAProto/index.d.ts:7388

Implementation of

ILocationMessage.accuracyInMeters


address?

optional address: null | string

Defined in: WAProto/index.d.ts:7385

Implementation of

ILocationMessage.address


comment?

optional comment: null | string

Defined in: WAProto/index.d.ts:7391

Implementation of

ILocationMessage.comment


contextInfo?

optional contextInfo: null | IContextInfo

Defined in: WAProto/index.d.ts:7393

Implementation of

ILocationMessage.contextInfo


degreesClockwiseFromMagneticNorth?

optional degreesClockwiseFromMagneticNorth: null | number

Defined in: WAProto/index.d.ts:7390

Implementation of

ILocationMessage.degreesClockwiseFromMagneticNorth


degreesLatitude?

optional degreesLatitude: null | number

Defined in: WAProto/index.d.ts:7382

Implementation of

ILocationMessage.degreesLatitude


degreesLongitude?

optional degreesLongitude: null | number

Defined in: WAProto/index.d.ts:7383

Implementation of

ILocationMessage.degreesLongitude


isLive?

optional isLive: null | boolean

Defined in: WAProto/index.d.ts:7387

Implementation of

ILocationMessage.isLive


jpegThumbnail?

optional jpegThumbnail: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:7392

Implementation of

ILocationMessage.jpegThumbnail


name?

optional name: null | string

Defined in: WAProto/index.d.ts:7384

Implementation of

ILocationMessage.name


speedInMps?

optional speedInMps: null | number

Defined in: WAProto/index.d.ts:7389

Implementation of

ILocationMessage.speedInMps


url?

optional url: null | string

Defined in: WAProto/index.d.ts:7386

Implementation of

ILocationMessage.url

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:7399

Returns

object


create()

static create(properties?): LocationMessage

Defined in: WAProto/index.d.ts:7394

Parameters

properties?

ILocationMessage

Returns

LocationMessage


decode()

static decode(r, l?): LocationMessage

Defined in: WAProto/index.d.ts:7396

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

LocationMessage


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:7395

Parameters

m

ILocationMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): LocationMessage

Defined in: WAProto/index.d.ts:7397

Parameters

d

Returns

LocationMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:7400

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:7398

Parameters

m

LocationMessage

o?

IConversionOptions

Returns

object