Gjsify LogoGjsify Logo

WebKitGeolocationPosition is an opaque struct used to provide position updates to a #WebKitGeolocationManager using webkit_geolocation_manager_update_position().

record

Hierarchy

  • GeolocationPosition

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • set_altitude(altitude: number): void
  • set_altitude_accuracy(altitude_accuracy: number): void
  • Set the accuracy of position altitude

    Parameters

    • altitude_accuracy: number

      accuracy of position altitude in meters

    Returns void

  • set_heading(heading: number): void
  • Set the position heading, as a positive angle between the direction of movement and the North direction, in clockwise direction.

    Parameters

    • heading: number

      heading in degrees

    Returns void

  • set_speed(speed: number): void
  • set_timestamp(timestamp: number): void
  • Set the position timestamp. By default it's the time when the position was created.

    Parameters

    • timestamp: number

      timestamp in seconds since the epoch, or 0 to use current time

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method