Navigation
API > API/Plugins > API/Plugins/LocationServicesBPLibrary
| Name | ULocationServicesImpl |
| Type | class |
| Header File | /Engine/Plugins/Runtime/LocationServicesBPLibrary/Source/LocationServicesBPLibrary/Classes/LocationServicesImpl.h |
| Include Path | #include "LocationServicesImpl.h" |
Syntax
UCLASS (Abstract)
class ULocationServicesImpl : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULocationServicesImpl
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnLocationChanged | FLocationServicesData_OnLocationChanged | LocationServicesImpl.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLocationServicesData GetLastKnownLocation () |
Returns the last location information returned by the location service. | LocationServicesImpl.h | |
virtual bool InitLocationServices
(
ELocationAccuracy Accuracy, |
Called to set up the Location Service before use | LocationServicesImpl.h | |
virtual bool IsLocationAccuracyAvailable
(
ELocationAccuracy Accuracy |
Checks if the supplied Accuracy is available on the current device. | LocationServicesImpl.h | |
virtual bool IsLocationServiceEnabled() |
LocationServicesImpl.h | ||
virtual bool StartLocationService() |
Starts requesting location updates from the appropriate Location Service | LocationServicesImpl.h | |
virtual bool StopLocationService() |
Stops the updates of location from the Location Service that was started with StartLocationService | LocationServicesImpl.h |