@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Interface MPPositionProviderInterfaceAbstract

    Interface for added a position provider to the SDK.

    MPPositionProviderInterface

    interface MPPositionProviderInterface {
        get name(): string;
        addOnPositionUpdateListener(listener: OnPositionUpdateListener): void;
        getLatestPosition(): MPPositionResultInterface;
        removeOnPositionUpdateListener(listener: OnPositionUpdateListener): void;
    }
    Index

    Accessors

    • get name(): string

      The name of the position provider, used to identify it.

      Returns string

    Methods

    • Add a listener to the position provider.

      The listener should be invoked when a new position has been received.

      Parameters

      Returns void