Methods
getAccuracy
- getAccuracy(index: number): number
-
Parameters
Returns number
getChatId
- getChatId(index: number): number
-
Parameters
Returns number
getContactId
- getContactId(index: number): number
-
Parameters
Returns number
getLatitude
- getLatitude(index: number): number
-
Parameters
Returns number
getLongitude
- getLongitude(index: number): number
-
Parameters
Returns number
getMarker
- getMarker(index: number): string
-
Parameters
Returns string
getMsgId
- getMsgId(index: number): number
-
Parameters
Returns number
getTimestamp
- getTimestamp(index: number): number
-
Parameters
Returns number
isIndependent
- isIndependent(index: number): boolean
-
Parameters
Returns boolean
locationToJson
- locationToJson(index: number): { accuracy: number; chatId: number; contactId: number; isIndependent: boolean; latitude: number; longitude: number; marker: string; msgId: number; timestamp: number }
-
Parameters
Returns { accuracy: number; chatId: number; contactId: number; isIndependent: boolean; latitude: number; longitude: number; marker: string; msgId: number; timestamp: number }
-
accuracy: number
-
chatId: number
-
contactId: number
-
isIndependent: boolean
-
latitude: number
-
longitude: number
-
marker: string
-
msgId: number
-
timestamp: number
toJson
- toJson(): ReturnType<Locations["locationToJson"]>[]
-
Returns ReturnType<Locations["locationToJson"]>[]
Wrapper around dc_location_t*