Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Locations

Wrapper around dc_location_t*

Hierarchy

  • Locations

Index

Constructors

constructor

Properties

dc_locations

dc_locations: NativeLocations

Methods

getAccuracy

  • getAccuracy(index: number): number

getChatId

  • getChatId(index: number): number

getContactId

  • getContactId(index: number): number

getCount

  • getCount(): number

getLatitude

  • getLatitude(index: number): number

getLongitude

  • getLongitude(index: number): number

getMarker

  • getMarker(index: number): string

getMsgId

  • getMsgId(index: number): number

getTimestamp

  • getTimestamp(index: number): number

isIndependent

  • isIndependent(index: number): boolean

locationToJson

  • locationToJson(index: number): { accuracy: number; chatId: number; contactId: number; isIndependent: boolean; latitude: number; longitude: number; marker: string; msgId: number; timestamp: number }
  • Parameters

    • index: number

    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"]>[]

Generated using TypeDoc