fake-geolocation
    Preparing search index...

    Interface DelegatedGeolocationParameters

    Parameters for creating a delegated Geolocation API.

    createDelegatedGeolocation to create a delegated Geolocation API.

    interface DelegatedGeolocationParameters {
        delegates: Geolocation[];
        permissionsDelegates: Map<Geolocation, Permissions>;
    }
    Index

    Properties

    delegates: Geolocation[]

    The Geolocation APIs to delegate to.

    The list must have at least one delegate, which will be selected initially. The list is static, and cannot be changed after the delegated API is created.

    permissionsDelegates: Map<Geolocation, Permissions>

    The Permissions APIs associated with each Geolocation API delegate.

    The map must contain a Permissions API for each Geolocation API delegate.