fake-geolocation
    Preparing search index...

    Interface CreateWrappedAPIsParameters

    Parameters for creating paired fake W3C Permissions and Geolocation APIs that wrap the supplied APIs.

    createWrappedAPIs to create paired fake W3C Permissions and Geolocation APIs that wrap the supplied APIs.

    interface CreateWrappedAPIsParameters {
        geolocation: Geolocation;
        locationServicesParams?: LocationServicesParameters;
        permissions: Permissions;
        permissionStoreParams?: PermissionStoreParameters;
        userParams?: Omit<UserParameters, "locationServices" | "permissionStore">;
    }

    Hierarchy (View Summary)

    Index

    Properties

    geolocation: Geolocation

    The W3C Geolocation API to wrap.

    locationServicesParams?: LocationServicesParameters

    Optional parameters to use when creating the location services.

    undefined

    permissions: Permissions

    The W3C Permissions API to wrap.

    permissionStoreParams?: PermissionStoreParameters

    Optional parameters to use when creating the permission store.

    undefined

    userParams?: Omit<UserParameters, "locationServices" | "permissionStore">

    Optional parameters to use when creating the user.

    undefined