@situm/react-native
    Preparing search index...

    Type Alias LocationRequest

    A data object that contains parameters for the location service, LocationManager.

    type LocationRequest = {
        autoEnableBleDuringPositioning?: boolean;
        beaconFilters?: BeaconFilter[];
        buildingIdentifier?: number;
        foregroundServiceNotificationOptions?: ForegroundServiceNotificationOptions;
        indoorProvider?: string;
        interval?: number;
        motionMode?: string;
        outdoorLocationOptions?: OutdoorLocationOptions;
        realtimeUpdateInterval?: string;
        smallestDisplacement?: number;
        useBarometer?: boolean;
        useBle?: boolean;
        useDeadReckoning?: boolean;
        useForegroundService?: boolean;
        useGps?: boolean;
        useWifi?: boolean;
    }
    Index

    Properties

    autoEnableBleDuringPositioning?: boolean

    Tries to enable BLE if disabled while positioning. Will not work in modern Android versions

    beaconFilters?: BeaconFilter[]

    Beacon filters to be handled during scan time, otherwise only Situm beacons will be scanned

    buildingIdentifier?: number

    Identifier of the building on which the positioning will be started

    foregroundServiceNotificationOptions?: ForegroundServiceNotificationOptions

    Used to configure the notification options for a foreground service

    indoorProvider?: string

    Default indoor provider. Possible values are INPHONE and SUPPORT

    interval?: number

    Default interval (in milliseconds) to notify location updates

    motionMode?: string

    Default motion mode. Possible values are BY_CAR, BY_FOOT, and RADIOMAX

    outdoorLocationOptions?: OutdoorLocationOptions

    Outdoor location options. Only used in an indoor/outdoor request

    realtimeUpdateInterval?: string

    Default interval to send locations to the Realtime. Possible values are REALTIME, FAST, NORMAL, SLOW, and BATTERY_SAVER

    smallestDisplacement?: number

    Default smallest displacement to notify location updates

    useBarometer?: boolean

    Defines whether or not to use the barometer for indoor positioning

    useBle?: boolean

    Defines whether or not to use BLE for positioning

    useDeadReckoning?: boolean

    Defines whether or not to use dead reckoning to get fast position updates using only the inertial sensors, between the server position updates

    useForegroundService?: boolean

    Defines whether or not to activate the foreground service

    useGps?: boolean

    Defines whether or not to use GPS for indoor positioning

    useWifi?: boolean

    Defines whether or not to use Wi-Fi for positioning