@nextcloud/dialogs
    Preparing search index...

    Interface GeolocationPosition

    The GeolocationPosition interface represents the position of the concerned device at a given time. Available only in secure contexts.

    MDN Reference

    interface GeolocationPosition {
        coords: GeolocationCoordinates;
        timestamp: number;
        toJSON(): any;
    }
    Index

    The coords read-only property of the GeolocationPosition interface returns a GeolocationCoordinates object representing a geographic position.

    MDN Reference

    timestamp: number

    The timestamp read-only property of the GeolocationPosition interface represents the date and time that the position was acquired by the device.

    MDN Reference

    • The toJSON() method of the GeolocationPosition interface is a Serialization; it returns a JSON representation of the GeolocationPosition object.

      MDN Reference

      Returns any