UOptionalMobileFeaturesBPLibrary::GetBatteryLevel

Returns the current battery level of the device in a range of [0, 100]

Windows
MacOS
Linux

References

Module

OptionalMobileFeaturesBPLibrary

Header

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

Include

#include "OptionalMobileFeaturesBPLibrary.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Mobile")
static int GetBatteryLevel()

Remarks

Returns the current battery level of the device in a range of [0, 100]

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