ULocationServices::IsLocationAccuracyAvailable

Checks if the supplied Accuracy is available on the current device.

Windows
MacOS
Linux

References

Module

LocationServicesBPLibrary

Header

/Engine/Plugins/Runtime/LocationServicesBPLibrary/Source/LocationServicesBPLibrary/Classes/LocationServicesBPLibrary.h

Include

#include "LocationServicesBPLibrary.h"

Source

/Engine/Plugins/Runtime/LocationServicesBPLibrary/Source/LocationServicesBPLibrary/Private/LocationServicesBPLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Services|Mobile|Location")
static bool IsLocationAccuracyAvailable
(
    ELocationAccuracy Accuracy
)

Remarks

Checks if the supplied Accuracy is available on the current device.

Returns

  • true if the mobile device can support the Accuracy, false if it will use a different accuracy

Parameters

Parameter

Description

Accuracy

the accuracy to check

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss